XL: Macro to Convert Column Numbers to Column Letters (153318)
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 Q153318 SUMMARY
In Microsoft Visual Basic for Applications, if you use the Column property
to return the column position, but you want to return the column letter
instead, use the following code to convert the column number to a column
letter.
REFERENCES
"Microsoft Excel Visual Basic User's Guide," Chapter 5, page 70.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB153318 |
---|
|