Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Angry Automatic cursor move

How can I get the cursor to move right upon inserting a digit from 1 to 9 in a cell using VBA without having to press enter or return
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default Automatic cursor move

How can I get the cursor to move right upon inserting a digit from
1 to 9 in a cell using VBA without having to press enter or return


VBA will not executive while in EditMode on a worksheet. You have to
manually exit EditMode to fire an event. This requires a keypress
(Enter, Tab, right arrow, Esc) IOW, I'm pretty sure what you want to do
isn't possible.

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 621
Default Automatic cursor move

Excel doesn't know you have entered something in a cell until you
indicate you are finished with that cell by hitting Enter or hit an
arrow key(if not in edit mode)

Use rightarrow to move right when ready to go.

Gord

On Thu, 14 Mar 2013 20:09:23 +0000, Michel Gauthier
wrote:


How can I get the cursor to move right upon inserting a digit from 1
to 9 in a cell using VBA without having to press enter or return

  #4   Report Post  
Junior Member
 
Location: Lakehurst, NJ, USA
Posts: 19
Default

Quote:
Originally Posted by Michel Gauthier View Post
How can I get the cursor to move right upon inserting a digit from 1 to 9 in a cell using VBA without having to press enter or return
Do you want this behavior to occur for all cells or only certain cells?
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 cursor on one sheet moves cursor on all sheets tdworden Excel Discussion (Misc queries) 2 July 22nd 07 10:50 PM
Move the cursor to the next row danhattan Excel Programming 2 March 15th 07 04:12 PM
Move cursor to next row Hank Excel Discussion (Misc queries) 1 August 4th 06 09:56 PM
move cursor Peter[_55_] Excel Programming 7 September 26th 05 06:41 PM
HOW TO MOVE CURSOR Fernando Duran Excel Programming 2 September 17th 03 06:55 PM


All times are GMT +1. The time now is 09:28 AM.

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

About Us

"It's about Microsoft Excel"