Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default how do i write a macro to move down in the sheet one line ?

I have to enter into a sheet several lines of information but I can't find
what the equivalent to the Lotus 123 commands for this in Excel Visual
Basic....they would be the down,up, right, and left commands. I thought
selection.down would be it but there isn't such a thing. Where do I find a
list of commands for vb that would be equivalent to Lotus.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,593
Default how do i write a macro to move down in the sheet one line ?

Selection.Offset(1,0).Select

down 1 row

Selection.Offset(0,1).Select

across 1 column

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"surelystumped" wrote in message
...
I have to enter into a sheet several lines of information but I can't find
what the equivalent to the Lotus 123 commands for this in Excel Visual
Basic....they would be the down,up, right, and left commands. I thought
selection.down would be it but there isn't such a thing. Where do I find

a
list of commands for vb that would be equivalent to Lotus.



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default how do i write a macro to move down in the sheet one line ?

Thanks. It worked and I see that a minus takes it the other way....

"surelystumped" wrote:

I have to enter into a sheet several lines of information but I can't find
what the equivalent to the Lotus 123 commands for this in Excel Visual
Basic....they would be the down,up, right, and left commands. I thought
selection.down would be it but there isn't such a thing. Where do I find a
list of commands for vb that would be equivalent to Lotus.

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
Get macro to run on any worksheet without renaming the sheet? Andrew B Excel Discussion (Misc queries) 6 July 26th 06 03:03 AM
Sum up columns in different sheet with error check zeyneddine Excel Discussion (Misc queries) 13 July 10th 06 01:21 PM
Selecting Last Sheet Bonbon Excel Worksheet Functions 17 February 22nd 06 04:16 PM
automatic move row from sheet to another Osama Mira Excel Worksheet Functions 1 December 5th 05 06:34 PM
Macro - Skipping a line PaulPoll Excel Worksheet Functions 4 December 21st 04 12:43 AM


All times are GMT +1. The time now is 04:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"