Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello
I was using GetProperty to retrieve the column on an Excel spreadsheet, but it returns me the number of column .. Is there a way I get the corresponding column name, I mean using the letters instead of the number? (like getting AAA instead of 703, or ZZ instead of 702). -- thanks so much. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Aggie
You can use this function from Chip Pearson Function ColumnLetter(R As Range) As String ColumnLetter = Left(R.Address(False, False), _ 1 - (R.Column 26) - (R.Column 702)) End Function -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Aggie" wrote in message ... Hello I was using GetProperty to retrieve the column on an Excel spreadsheet, but it returns me the number of column .. Is there a way I get the corresponding column name, I mean using the letters instead of the number? (like getting AAA instead of 703, or ZZ instead of 702). -- thanks so much. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to retrieve the value within string? | Excel Discussion (Misc queries) | |||
How to retrieve certain char within a string? | Excel Discussion (Misc queries) | |||
How to retrieve certain text from string? | Excel Worksheet Functions | |||
How to retrieve character from a string for excel? | Excel Worksheet Functions | |||
How to retrieve character from a string for excel? | Excel Discussion (Misc queries) |