Microsoft KB Archive/44272

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

MS-DOS

SUMMARY

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.