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
Keywords : kbinterop kbmacro kbole kbprint wordnt kbmacroexample word8 kbwordvba macword98 winword ntword macword word6 winword2 word7 word95 macword5 |
Last Reviewed: December 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |