From: dhstein on
Is there a VBA command to move the cursor up one row ? Thanks.
From: Don Guillett on
activecell.offset(-1).select

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett(a)gmail.com
"dhstein" <dhstein(a)discussions.microsoft.com> wrote in message
news:00256E75-D9D8-4A27-9909-F1667553FC35(a)microsoft.com...
> Is there a VBA command to move the cursor up one row ? Thanks.

From: Gary''s Student on
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 here:

http://msdn.microsoft.com/en-us/library/ms171548(VS.80).aspx

--
Gary''s Student - gsnu201001


"dhstein" wrote:

> Is there a VBA command to move the cursor up one row ? Thanks.
From: dhstein on
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 here:
>
> http://msdn.microsoft.com/en-us/library/ms171548(VS.80).aspx
>
> --
> Gary''s Student - gsnu201001
>
>
> "dhstein" wrote:
>
> > Is there a VBA command to move the cursor up one row ? Thanks.