Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Move the active cell

Dear Sirs,

Can someone help to write a Macro to move the active cell to my designated
location, not by cell reference. But go to somewhere by direction and
distance.

Example: The active cell is B1, but it is variable. I need the active cell
to go to the next cell in its right hand side, it means C1. Or from C1 to D1,
Or from C3 to C4.

Is it possible? Can someone help?
--
Dennis Cheung
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Move the active cell

Hi Dennis,

If your intention is to select the next cell in the
current row programmatically, Papou has suggested
the required code.

If, however, your intention is to select the next cell in
the current row in response to the Enter key, try:

Menu | Tools | Options | Edit |
Move selection after Enter | Right


---
Regards,
Norman


"Dennis Cheung" wrote in message
...
Dear Sirs,

Can someone help to write a Macro to move the active cell to my designated
location, not by cell reference. But go to somewhere by direction and
distance.

Example: The active cell is B1, but it is variable. I need the active
cell
to go to the next cell in its right hand side, it means C1. Or from C1 to
D1,
Or from C3 to C4.

Is it possible? Can someone help?
--
Dennis Cheung



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
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 within ss by active cell position, NOT by cell names BEEJAY Excel Programming 2 August 23rd 06 04:34 PM
accept input and move active cell? JR Hester Excel Programming 4 July 28th 06 04:43 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 02:40 PM.

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"