Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Cursor movement

how do i move the cursor from the end of a row to the beginning of the next
row after pressing ENTER
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default Cursor movement

Hi, write a VBA code that does the following,
1. Check if the current cell is the last cell in the current row
2. If so, then set focus on the first cell of next row and activate it
I hope the above should help you.

"Tedebare" wrote:

how do i move the cursor from the end of a row to the beginning of the next
row after pressing ENTER

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Cursor movement

Start in A1 and Tab your way across the row as you enter your data.

When you get to the last data cell in that row, hit ENTER key to go back to
column A, next row down.

With this method, you will always go back to starting column one row down.

i.e. if you start in column C and Tab across, hitting ENTER key will move you
back to column C.


Gord Dibben MS Excel MVP

On Thu, 15 Mar 2007 08:21:19 -0700, Madhan
wrote:

Hi, write a VBA code that does the following,
1. Check if the current cell is the last cell in the current row
2. If so, then set focus on the first cell of next row and activate it
I hope the above should help you.

"Tedebare" wrote:

how do i move the cursor from the end of a row to the beginning of the next
row after pressing ENTER


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
CURSOR MOVEMENT Aligahk06 Excel Discussion (Misc queries) 3 September 9th 09 04:55 PM
Cursor Movement? micah Excel Worksheet Functions 10 October 30th 07 04:18 AM
cursor movement Paulo Couto Excel Discussion (Misc queries) 5 October 25th 07 11:32 PM
Cursor movement JeffH Excel Discussion (Misc queries) 1 February 23rd 06 09:57 PM
Cursor movement Ann Calantzis Excel Worksheet Functions 1 May 25th 05 04:18 PM


All times are GMT +1. The time now is 02:21 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"