How to convert a column number (eg. 127) into an excel column (eg. AA)

Posted by krolley on Stack Overflow See other posts from Stack Overflow or by krolley
Published on 2008-10-08T06:55:01Z Indexed on 2010/03/18 18:21 UTC
Read the original article Hit count: 246

Filed under:
|
|

How do you convert a numerical number to an Excel column name in C# without using automation getting the value directly from Excel.

Excel 2007 has a possible range of 1 to 16384, which is the number of columns that it supports. The resulting values should be in the form of excel column names, e.g. A, AA, AAA etc.

© Stack Overflow or respective owner

Related posts about c#

Related posts about excel