Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default VBA command to move cursor

Is there a VBA command to move the cursor up one row ? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default VBA command to move cursor

activecell.offset(-1).select

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"dhstein" wrote in message
...
Is there a VBA command to move the cursor up one row ? Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default VBA command to move cursor

If you mean move the Activecell up one row, then:

Sub MoveUp()
ActiveCell.Offset(-1, 0).Select
End Sub

If you mean actually moving the mouse in VBA, then start he

http://msdn.microsoft.com/en-us/libr...48(VS.80).aspx

--
Gary''s Student - gsnu201001


"dhstein" wrote:

Is there a VBA command to move the cursor up one row ? Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default VBA command to move cursor

Thanks Gary and Don

"Gary''s Student" wrote:

If you mean move the Activecell up one row, then:

Sub MoveUp()
ActiveCell.Offset(-1, 0).Select
End Sub

If you mean actually moving the mouse in VBA, then start he

http://msdn.microsoft.com/en-us/libr...48(VS.80).aspx

--
Gary''s Student - gsnu201001


"dhstein" wrote:

Is there a VBA command to move the cursor up one row ? Thanks.

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
Can I move the cursor on error?? Les Linton Excel Discussion (Misc queries) 3 September 27th 07 03:18 AM
move cursor on one sheet moves cursor on all sheets tdworden Excel Discussion (Misc queries) 2 July 22nd 07 10:50 PM
How do I get tab to move the cursor one cell over rather than 8? Mysti4God Excel Worksheet Functions 2 August 11th 06 07:04 PM
Move cursor to next row Hank Excel Discussion (Misc queries) 1 August 4th 06 09:56 PM
Move Cursor to A1 Silver Excel Discussion (Misc queries) 3 January 7th 05 02:49 PM


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