Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Range("A16:C16").Select
I would like the above command to select columns A:C with the current cursor row. Obviously a Macro newbee, lol Thanks for any assistance. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi
range("A:C").select would select columns A through C but what is the "current cursor row"? regards FSt1 "Roy A." wrote: Range("A16:C16").Select I would like the above command to select columns A:C with the current cursor row. Obviously a Macro newbee, lol Thanks for any assistance. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
maybe
Union(ActiveCell.EntireRow, Range("A:C")).Select Mike "Roy A." wrote: Range("A16:C16").Select I would like the above command to select columns A:C with the current cursor row. Obviously a Macro newbee, lol Thanks for any assistance. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I bet you meant
intersect(activecell.entirerow, range("a:c")) Mike H wrote: maybe Union(ActiveCell.EntireRow, Range("A:C")).Select Mike "Roy A." wrote: Range("A16:C16").Select I would like the above command to select columns A:C with the current cursor row. Obviously a Macro newbee, lol Thanks for any assistance. -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I did <g thanks
"Dave Peterson" wrote: I bet you meant intersect(activecell.entirerow, range("a:c")) Mike H wrote: maybe Union(ActiveCell.EntireRow, Range("A:C")).Select Mike "Roy A." wrote: Range("A16:C16").Select I would like the above command to select columns A:C with the current cursor row. Obviously a Macro newbee, lol Thanks for any assistance. -- Dave Peterson |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This one selects cells from A to C on activecells row:
Range(Cells(ActiveCell.Row, "A"), Cells(ActiveCell.Row, "C")).Select Mika Oukka, IT-Consultant "Roy A." wrote in message ... Range("A16:C16").Select I would like the above command to select columns A:C with the current cursor row. Obviously a Macro newbee, lol Thanks for any assistance. |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One mo
activecell.entirerow.cells(1).resize(1,3).select Roy A. wrote: Range("A16:C16").Select I would like the above command to select columns A:C with the current cursor row. Obviously a Macro newbee, lol Thanks for any assistance. -- Dave Peterson |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Another one:
activecell.entirerow.cells(1).range("a1:C1").selec t or activecell.entirerow.range("a1:C1").select (I kind of like the documentation that .cells(1) provides.) Dave Peterson wrote: One mo activecell.entirerow.cells(1).resize(1,3).select Roy A. wrote: Range("A16:C16").Select I would like the above command to select columns A:C with the current cursor row. Obviously a Macro newbee, lol Thanks for any assistance. -- Dave Peterson -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumeif macro with range selection | Excel Discussion (Misc queries) | |||
Macro Range Selection | Excel Discussion (Misc queries) | |||
Range selection for macro | Excel Programming | |||
How to get users' range selection in VBA macro? | Excel Programming | |||
Range selection code in a macro | Excel Programming |