Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Reading columns and rows in selected range

Hello, I wanted to write a routine in C# that converts a Excel column number
to column letter and vice versa. Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 171
Default Reading columns and rows in selected range

Here is a web link to do it with VB6....

http://www.freevbcode.com/ShowCode.asp?ID=4303


Maybe you can take the formula used for this function and convert it to work
with C#...

Mark Ivey

"guest" wrote in message
...
Hello, I wanted to write a routine in C# that converts a Excel column
number
to column letter and vice versa. Any ideas?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Reading columns and rows in selected range

Looks like this function only works upto 2 character column names, is there
any generalized function that works for all column names?

I can use that formula and change it to make it work for all column names
but just wondering if someone has already done it so that I dont have to
spend time. I am planning do it in the next 3-4 days, if someone else has
solution for it already well and good, otherwise I will post my solution once
I get to it.



"Mark Ivey" wrote:

Here is a web link to do it with VB6....

http://www.freevbcode.com/ShowCode.asp?ID=4303


Maybe you can take the formula used for this function and convert it to work
with C#...

Mark Ivey

"guest" wrote in message
...
Hello, I wanted to write a routine in C# that converts a Excel column
number
to column letter and vice versa. Any ideas?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SHADING OF SELECTED ROWS & COLUMNS DESJAL Excel Discussion (Misc queries) 1 December 14th 08 07:09 PM
Highlighting selected cells/rows/columns [email protected] New Users to Excel 0 May 21st 08 09:13 PM
reading data from columns that span rows Allen Maxwell Excel Programming 0 July 30th 07 09:05 PM
How to printout only selected rows and columns Gina Meyer New Users to Excel 8 September 2nd 06 07:46 AM
Display selected rows and columns in a pop-up window. lothario[_52_] Excel Programming 2 November 12th 03 06:14 AM


All times are GMT +1. The time now is 12:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"