View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Amanda Amanda is offline
external usenet poster
 
Posts: 151
Default moving the cursor in a macro

How do I move up one cell from where the cursor is in a macro (which could be
a random location in a workbook).
I don't want the cursor to be in a fixed location.
For example, if the cursor was in A4 before I run the macro. I want the
macro to move the cursor to A3. If the cursor was in B12 before I run the
macro, I want the cursor to move to B11.

p.s. I've tried using the arrow key as well as Shift Enter neither works.

Amanda