Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default macro to move cursor one cell right

If I need to move the cursor to the right to paste a value copied from
another sheet , what macro command should I use
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 897
Default macro to move cursor one cell right

You don't need to. The Copy Method accepts a Range argument which
would be the destination for the paste operation.

For example:

Worksheets(1).Range("A1").Copy Destination:=Worksheets(3).Range("B12")


--JP

On Sep 22, 3:31*pm, Kodak1993
wrote:
If I need to move the cursor to the right to paste a value copied from
another sheet , what macro command should I use


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default macro to move cursor one cell right

If JP's reply does not do the trick...........

To move one cell to the right you need cellref.Offset(0, 1)


Gord Dibben MS Excel MVP

On Mon, 22 Sep 2008 12:31:01 -0700, Kodak1993
wrote:

If I need to move the cursor to the right to paste a value copied from
another sheet , what macro command should I use


  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 897
Default macro to move cursor one cell right

Thanks Gord!

--JP

On Sep 22, 5:10*pm, Gord Dibben <gorddibbATshawDOTca wrote:
If JP's reply does not do the trick...........

To move one cell to the right you need * cellref.Offset(0, 1)

Gord Dibben *MS Excel MVP

On Mon, 22 Sep 2008 12:31:01 -0700, Kodak1993

wrote:
If I need to move the cursor to the right to paste a value copied from
another sheet , what macro command should I use


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
Automatically move cursor when cell value changes scotty New Users to Excel 3 January 23rd 07 12:03 AM
Automatically move cursor when cell value changes Gary''''s Student New Users to Excel 0 January 19th 07 08:20 PM
Automatically move cursor when cell value changes scotty New Users to Excel 0 January 19th 07 08:15 PM
Visual basic macro move cursor down 1 cell Roger Excel Worksheet Functions 1 September 12th 06 08:09 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


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