Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sorry that one didn't work on Columns with double letters i.e. "AA"
try this one instead Dim x As Variant x = Mid(ActiveCell.Columns.Address, 2, WorksheetFunction.Find("$", _ ActiveCell.Columns.Address, 2) - 2) I think you can avoid the WorksheetFunction call by doing this... x = Left(ActiveCell.Address(True, False), _ InStr(ActiveCell.Address(True, False), "$") - 1) Rick |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup between sheets, finding a match, and returning a letter | Excel Worksheet Functions | |||
Returning column letter | Excel Programming | |||
How to replace column letter in refferences with a function using the old column letter? | Links and Linking in Excel | |||
How to replace column letter in refferences with a function using the old column letter? | Excel Worksheet Functions | |||
column header changed from letter to number, how return to letter | Excel Discussion (Misc queries) |