agree
their are two ways to do this
One is by using Excel Formula
like for example =SUBSTITUTE(ADDRESS(1;colNum;4);β1β;ββ)
and other is by mapping
I have used second approach in past and it works
int Column_Number= your column number(int);
string columnName = String.Empty;
int modulo;while (dividend > 0) { modulo = (Column_Number- 1) % 26; columnName = Convert.ToChar(65 + modulo).ToString() + columnName; dividend = (int)((Column_Number- modulo) / 26); }
Regardsβ¦!!
AKsh