Microsoft KB Archive/63073

Word: Message Line Does Not Appear with Macro PAUSE Command

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

5.00 5.50 6.00

MS-DOS

= SUMMARY =

When a Microsoft Word for MS-DOS version 5.0, 5.5 or 6.0 macro executes the PAUSE command, the message for the particular menu command will not appear in the message line.

Word version 5.0
  Type the following macro: tl< >   Copy the macro to the glossary and run it. 

Word versions 5.5, 6.0
  Type the following macro: O<>   Copy the macro to the MACRO.GLY and run it. </ol>

When the macro is invoked, it goes to the Transfer Load “filename:” in Word 5.00 and to the File Open in Word versions 5.50, 6.00. At this point it waits for you to press ENTER. However, the message “Enter filename or press <F1>…,” which should appear on the message line when the Transfer Load in Word 5.00 or the File Open in Word version 5.50 or 6.00 command is invoked, doesn’t appear.

This behavior occurs in any Wor 5.0, 5.5, or 6.0 macro that uses the PAUSE command immediately after invoking a menu command. It happens because it is possible to include a message in the message line with the PAUSE command. If no message is specified in the PAUSE command, Word will makes the message line blank.

KBCategory: kbother kbmacro KBSubcategory: Additional reference words: 5.00 5.50 6.00 ============================================================================= Copyright Microsoft Corporation 1994.