Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Saturday, July 31, 2010 9:31:10 AM UTC-7, MIG wrote:
For some reason, activecell.column returns a number, where as range.select requires a string. So it's not possible to, say, select a range based on returning the current column, or is it? Is there a way of either a) returning the column letter or b) selecting a range based on column number? Thanks. Here ya go MyCol = Columns(ActiveCell.Column).Address this will return a result of $A:$A or whatever column you have active. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Get Column Letter of Active Cell in VBA | Excel Discussion (Misc queries) | |||
Get Column Letter of Active Cell in VBA | Excel Discussion (Misc queries) | |||
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) |