Microsoft KB Archive/44272

From BetaArchive Wiki

Word: SET and ASK Used with Macro Executing Print Merge

PSS ID Number: Q44272 Article last modified on 11-02-1994

4.00 5.00



A Print Merge can be invoked from a macro with the macro continuing after the Print Merge completes, unless a SET or ASK instruction is used in the Print Merge. Since the macro still is receiving the keyboard input, entering information to answer the SET or ASK instruction interrrupts the process of the macro.

If a SET or ASK must be used in the Print Merge, the macro should be written in two parts; the first part processes steps prior to the Print Merge and invokes the Print Merge. The second part is invoked after the Print Merge is completed, continuing on with the intended processing.

As long as the Print Merge does not need any input, one macro is sufficient for all the operations.

KBCategory: kbother kbmacro KBSubcategory: kbmerge Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.