Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 55
Default Move to Active Row Column B

I want a code that will move the cursor to Column B, but not move it from the
ActiveRow.
  #2   Report Post  
Posted to microsoft.public.excel.programming
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.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Move to Active Row Column B

Hi
cells(activecell.row,2).select

"scrabtree23" wrote:

I want a code that will move the cursor to Column B, but not move it from the
ActiveRow.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Button macro to move/delete active row KevHardy Excel Discussion (Misc queries) 4 February 13th 10 11:59 AM
move from active cell offset in macro april Excel Discussion (Misc queries) 5 October 18th 09 05:02 PM
Move active cell to same location on each worksheet BeanoKid Excel Discussion (Misc queries) 3 April 15th 08 11:29 PM
Move Active Workbook to another Folder jonallen51 Excel Discussion (Misc queries) 0 March 12th 08 07:41 PM
need to Copy or Move to active cell from specified range kaream Excel Discussion (Misc queries) 2 December 14th 05 08:12 AM


All times are GMT +1. The time now is 06:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"