Perguntas frequentes
Perguntas frequentes para auto-ajuda.
Por favor, dê uma olhada rápida nas perguntas comuns (e respostas) na lista padrão. Se você não encontrar o que está procurando, comece selecionando sua versão Ability Office e, em seguida, reduza-a inserindo o texto de pesquisa e/ou categoria.
Artigo da base de conhecimento 102
How to run a macro as an application starts/Autoexecute macrosAutoexecute macros, that start when a file is loaded, are not allowed in Ability due to security problems - such functionality provides an easy route to spread viruses.
However, it is possible to create a shortcut that opens a file and runs a macro as the application loads.
The general format is:
ApplicationName FileName#Macroname
ApplicationName #Macroname
The first starts the Ability application, opens the file Filename and runs the macro called Macroname that is contained within the file.
The second starts an Ability application and runs the Application or Global level macro called Macroname.
Example 1. Suppose you want to open a database called INVOICE.ADB in My Documents and run a macro called STARTINV within the database:
- Right click over your Desktop and select New/Shortcut (or, to put it inside the Start menu, right click on the Start button, select Open, select Programs and right-click and select New/Shortcut).
- Click Browse and open up My Documents
- Select INVOICE.ADB and OK.
- After the name of the file, add #STARTINV so that line now reads something like:
"C:\Documents and Settings\Phil\My Documents\INVOICE.ADB#STARINV" - Click Next and complete the shortcut
- Right click over your Desktop and select New/Shortcut (or, to put it inside the Start menu, right click on the Start button, select Open, select Programs and right-click and select New/Shortcut).
- Click Browse, open up My Computer and browse to c:\program files\ability office 4
- Select ABWRITE.EXE and OK.
- After ABWRITE.EXE (and after any quotation marks), add a space and then #STARTUP so the line reads:
"C:\Program Files\Ability Office 4\ABWRITE.EXE" #STARTUP