Microsoft KB Archive/47936

Word 5.00 Checks for Errors in Macro Structure

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

5.00

MS-DOS

= SUMMARY =

Word Version 5.00 does not execute some macros that Word Version 4.00 executes.

For example, Word 4.00 will execute the following macro:

< >sample text< >< >< > more sample text< >

The above macro is structurally incorrect because of the extra ENDREPEAT statement without a corresponding REPEAT statement. Word 4.00 runs this macro without any error messages. However, because the macro contains a structural error, it may not perform correctly.

When Word 5.00 runs the macro, it gives the following error message:

ENDREPEAT without REPEAT…

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