View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
JulieD JulieD is offline
external usenet poster
 
Posts: 618
Default Move to Active Row Column B

Hi

one method is to use the offset function...
e.g.
activecell.offset(0,1).select
moves the cursor one column to the right
activecell.offset(0,-1).select
moves the cursor one column to the left

however, generally you don't need to "select" a cell to work with it
e.g.
activecell.offset(0,5).value = "cat"
places the word "cat" in the 5th column to the right of the current cell.

Cheers
JulieD

"scrabtree23" wrote in message
...
I want a code that will move the cursor to Column B, but not move it from
the
ActiveRow.