How do I run a DP_AutoMacro whenever the DataPrompter dialog box is shown?
1. Open a document or a template that contains at least one DataField. 2. Pull down the File menu and choose Properties, then choose the Custom tab at the top of the Properties dialog box. 3. In the Name field, enter “DP_AutoMacro” (without the quotes). MAKE SURE YOU SPELL THE NAME EXACTLY AS SHOWN, COMPLETE WITH UNDERSCORE CHARACTER, WITH MATCHING CAPITALIZATION. 4. In the Value field, enter the name of the macro to run automatically whenever the DataPrompter dialog for this document (or for documents based on this template) is shown. 5. Click OK and then pull down the File menu and choose Save. TIP: A macro’s full name consists of the project name, module name, and subroutine name, separated by periods. For example, the full name of a macro might be MyProject.MyModule.MySubroutine. For best results, enter the macro’s full name and make sure that no other macro has the same full name.