I want to know how can I get excel cell name like e.g. if I pass RowNumber and ColumnNumber
then function should return me the excel cell name like “A1”.
Is it possible?
I am using ExcelWrapper which I found on codeplex.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is the link from where I got answer
Translate a column index into an Excel Column Name
And answer from that link is as follows
The answer I came up with is to get a little recursive. This code is in VB.Net:
And in C#:
The only downside it that it uses 1-indexed columns rather than 0-indexed.