Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have written an Excel macro but, before it runs, need to ensure the active
cell is in Column A (of the appropriate row). Can anyone please tell me how to do this at the start of the macro. I have searched all over the place for the answer but cannot find it. I could use the offset command but the number of cells to the left will vary each time. I thought there might be a Home command or something similar? Thanks, V |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Here are a couple of ways.
activesheet.cells(activecell.row,"A").select or activecell.entirerow.cells(1).select Victor Delta wrote: I have written an Excel macro but, before it runs, need to ensure the active cell is in Column A (of the appropriate row). Can anyone please tell me how to do this at the start of the macro. I have searched all over the place for the answer but cannot find it. I could use the offset command but the number of cells to the left will vary each time. I thought there might be a Home command or something similar? Thanks, V -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
"Dave Peterson" wrote in message
... Here are a couple of ways. activesheet.cells(activecell.row,"A").select or activecell.entirerow.cells(1).select Dave Many thanks, V |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Moving macro from one PC to another | Excel Discussion (Misc queries) | |||
moving macro | Excel Worksheet Functions | |||
Moving right in a macro | Excel Discussion (Misc queries) | |||
moving the formula "average" over one column in a macro | Excel Worksheet Functions | |||
Moving down one row in a macro | New Users to Excel |