View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Mike King Mike King is offline
external usenet poster
 
Posts: 6
Default Move active cell through current selection


"Mike H" wrote in message
...
With this approach the active cell does not change.


Your correct the active cell doesn't change but what the code does is loop
through each cell of the selected range and is no need to select the cell
(make it the active cell) to manipulate the data in it.


I didn't explain why move the active cell is important to me.

I found my solution. I'm going to determine the next cell in the selection
using an IEnumVARIANT interface and set the active cell by calling the
Activate method.

Thanks for pointing me in the right direction.