How to Copy the Text Within a Text Box to a Cell (152379)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q152379 SUMMARY
This article contains a sample Microsoft Visual Basic for Applications
macro (Sub procedure) that copies the text within a text box and pastes it
into a spreadsheet.
After following the steps outlined in this article, you should see the text
appear in the various cells in column A, starting with cell A1. Each
separate cell will contain the text of one text box.
NOTE: In Microsoft Excel 7.0 and earlier, if a text box contains more than
255 characters, numeric data will appear in scientific notation. If the
data in the text box is alphanumeric, the cell will only hold the first 255
characters of data. Microsoft Excel 97 and Microsoft Excel 98 can hold a
maximum of 32,000 characters per cell.
| Modification Type: | Minor | Last Reviewed: | 10/10/2006 |
|---|
| Keywords: | kbdtacode kbhowto kbProgramming KB152379 |
|---|
|