XL98: How to Copy Text to TextBoxes Using the Characters Method (192908)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q192908 SUMMARY
In a Microsoft Excel worksheet, you can use TextBox objects to add text
that is not limited by the boundary of a cell. You can also use text boxes
on dialog sheets and chart sheets when specially formatted text is
required.
The text string that is copied to or from a TextBox object has a 255-
character restriction when you use the Characters method in Visual Basic
for Applications. In other words, although a text box is capable of holding
approximately 2,000 characters, the text must be added in strings that are
no more that 255 characters in length. You can use the Sub procedures in
the "More Information" section of this article to work around this
restriction.
REFERENCES
For additional information about getting help with Visual Basic for
Applications, please see the following article in the Microsoft Knowledge
Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/10/2006 |
---|
Keywords: | kbdtacode kbhowto KB192908 |
---|
|