Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to capture the alpha address of a column. For example, I know that
column 5 is "E" but how can I do that programmatically? Suppose I have column 37 - how can I capture the alpha address? Glen |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Disregard. I got it from www.dicks-blog .com
ColLetter = Left(Cells(1, ColNumber).Address(False, False), _ 1 - (ColNumber 26)) neat!! Glen "Glen Mettler" wrote in message ... I need to capture the alpha address of a column. For example, I know that column 5 is "E" but how can I do that programmatically? Suppose I have column 37 - how can I capture the alpha address? Glen |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
strColumn = Split(Columns(lngColumn).Address(, False), ":")(1)
where lngColumn is the column number. -- Rob van Gelder - http://www.vangelder.co.nz/excel "Glen Mettler" wrote in message ... I need to capture the alpha address of a column. For example, I know that column 5 is "E" but how can I do that programmatically? Suppose I have column 37 - how can I capture the alpha address? Glen |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - changing column reference based on value of other column | Excel Discussion (Misc queries) | |||
MS Excel - changing reference column value based on another column | Excel Discussion (Misc queries) | |||
Excel - changing column reference based on value of other column | Excel Discussion (Misc queries) | |||
Row reference increment but preserve column reference | Excel Worksheet Functions | |||
Macro to Reference Column Next to Current Reference | Excel Discussion (Misc queries) |