Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks guys I am up and running again straight into another problem I expect
"David" wrote: for each cl in selection.cells cl.activate next cl -- David "PraxisPete" wrote: Hi Everybody I have code that references to the ActiveCell and I would like to use this code looping through a range selection. If I code as follows For Each cell in Selection €˜MyCode in here Next cell This does not change the ActiveCell How can I loop through a range selection making each cell become the Activecell Example Range("A3,A6,A9").Select For Each cell In Selection ' Make cell ActiveCell ' Code that references to the Activecell Next cell Many Thanks in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ActiveCell in a Range? | Excel Discussion (Misc queries) | |||
Name of range containing ActiveCell? | Excel Programming | |||
Saving the activecell range for later use | Excel Programming | |||
ActiveCell.End(xlDown).Select not working consistently | Excel Programming | |||
XP VBA: Range("A2", ActiveCell.SpecialCells(xlLastCell)).Select | Excel Programming |