How To Convert Indices (row,col) into Excel-Style A1:C1 Strings (198112)
The information in this article applies to:
- Microsoft Visual C++ 4.0
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q198112 SUMMARY
Sometimes it is necessary to convert numerical indices (row,column) into
Excel-style "A1:C1" string notation. This can be confusing because after
"Z," Excel starts using "BA," "BB," etc. This article contains a function
you can use in your code to do this conversion for you.
Modification Type: | Minor | Last Reviewed: | 3/21/2005 |
---|
Keywords: | kbhowto KB198112 |
---|
|