MOD2000: Unexpected Results Running String Editor a Second Time (236505)
The information in this article applies to:
- Microsoft Office 2000 Developer
This article was previously published under Q236505 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
If you run the String Editor a second time on a string that originally contained quotation marks, the String Editor may return unexpected results.
CAUSE
When 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.
RESOLUTION
If you want to run the String Editor a second time on an existing string, make sure the entire string is highlighted.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 7/31/2001 |
---|
Keywords: | kbbug kbStringEditor KB236505 |
---|
|