FAQ

Domande frequenti per l'auto-aiuto.

Si prega di dare una rapida occhiata alle domande (e risposte) comuni nell'elenco predefinito. Se non riesci a trovare quello che stai cercando, inizia selezionando la tua versione di Ability Office e poi restringila inserendo il testo di ricerca e/o la categoria.

Articolo della base di conoscenza 104

How to create a toolbar button to start external applications

You can use the macro facilities in Write, Spreadsheet, Database and Photopaint to run external programs from toolbar buttons. The following example will show how to set this up to start Spreadsheet. All you need to change is the name of the exe (the prog= line) in step 3:

  1. Select Tools/Macro/Macros
  2. Enter a meaningful name, for example "StartSpreadsheet", in the Macro Name box and click Create
  3. Edit the macro so it looks like this:

    Sub StartSpreadsheet
        prog = "abspread.exe"
        Set WshShell = CreateObject("WScript.Shell")
        WshShell.Exec(prog)
    End Sub

  4. Close the macro Window and select Tools/Customize
  5. Select the Macro tab and drag and drop the StartSpreadsheet macro to a toolbar (you can create a new toolbar if you prefer).
  6. Without closing the Customize dialog, right-click over the button you just added. Select Edit button image to give it your own icon or select Text Only or Image and Text to show the name of the macro as part of the button.