WD: REM Command Splits Long WordBasic Commands into Two PiecesLast reviewed: February 11, 1998Article ID: Q110396 |
The information in this article applies to:
SYMPTOMSIf you have a WordBasic command that is longer than 255 characters, and you use the REM/Un-REM feature on this command, when you start the macro, the WordBasic command will be split into two paragraphs.
CAUSEWhen you comment out (apply a REM statement before) a long WordBasic command, you will get a paragraph mark and an apostrophe at the location after the 255th character as soon as you click Start to run the macro. If you then remove the comment with the Un-REM feature, the first part of the statement is reactivated, but the second part of the statement remains commented out.
WORKAROUNDRather then using the REM/Un-REM feature, manually type in (or remove) the REM at the start of the command.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Word 97 for Windows and Word 98 Macintosh Edition.
|
Additional query words: word6 winword macword
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |