Microsoft KB Archive/46322

WordBasic Error Code 125: Unexpected End of Macro

PSS ID Number: Q46322 Article last modified on 02-17-1993

1.00 1.10a 2.00 WINDOWS

Summary: In Microsoft Word for Windows versions 1.x and 2.0, the WordBasic Error Code Number 125, “Unexpected end of macro,” indicates the macro program ended unexpectedly. Edit the macro and use the step or trace options to determine the source of the termination. Verify that your macro has an End Sub statement or the last subroutine has an End Sub statement if there is more than one subroutine.

Additional reference words: w4wmacro 1.00 1.10 1.10a 1.0 1.1 1.1a 2.00