The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. SYMPTOMSIf you run the String Editor a second time on a string that originally contained quotation marks, the String Editor may return unexpected results. CAUSEWhen you type a string that contains quotation marks, the String Editor evaluates the string properly. However, all of the text in the resulting string is highlighted, except for the last character. If you then leave the resulting string highlighted as it is, and run the String Editor a second time, the resulting string is missing the last character, and is therefore invalid. When the Visual Basic Editor tries to parse a string that is invalid, you receive unexpected results. RESOLUTIONIf you want to run the String Editor a second time on an existing string, make sure the entire string is highlighted. STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. MORE INFORMATION
"a" + "b" "a" + "bChr$(34 Additional query words: pra highlight second time
Keywords : kbdta modStringEditor |
Last Reviewed: November 19, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |