Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Column Headings

i = 27
colLetter = Left(cells(1,i).address(0,0),1-(cells(1,i).Column26))

--
Regards,
Tom Ogilvy



"OkieViking" wrote in message
...
In VBA columns are denoted by numbers, but in Excel they are denoted by

letters (i.e. Column A, Column C). Is there a Column property that returns
the Letter instead of the number? Is there another way of getting to that?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Column Headings

Thanks again!

"Tom Ogilvy" wrote:

i = 27
colLetter = Left(cells(1,i).address(0,0),1-(cells(1,i).Column26))

--
Regards,
Tom Ogilvy



"OkieViking" wrote in message
...
In VBA columns are denoted by numbers, but in Excel they are denoted by

letters (i.e. Column A, Column C). Is there a Column property that returns
the Letter instead of the number? Is there another way of getting to that?



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
Column Data to Appear as Column Headings in Another Sheet Monk[_2_] Excel Discussion (Misc queries) 3 November 27th 08 09:47 PM
Worksheet has numeric column headings. Change to alpha headings? Be Frank Excel Discussion (Misc queries) 1 June 18th 08 04:22 PM
Column headings to numbers and row headings to alphabets? Juliana Excel Discussion (Misc queries) 2 May 9th 08 05:58 PM
How do I create column headings in Excel in the A, B, C etc column eliannaj Excel Discussion (Misc queries) 2 November 23rd 05 06:48 PM
Can I invert a table so row headings are now column headings etc Sharon Excel Worksheet Functions 3 February 10th 05 07:28 PM


All times are GMT +1. The time now is 05:20 AM.

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"