Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Move cursor down one cell
I have recorded a macro to try and position my cursor in the next blank cell
at the bottom of a list. I have the following to send the cursor to the bottom of the list : Selection.End(xlDown).Select but the next line is : Range("B4").Select which obviously continuously selects B4. What is the command to just drop down one cell? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Move cursor down one cell
ActiveCell.Offset(1,0)
"sot" wrote: I have recorded a macro to try and position my cursor in the next blank cell at the bottom of a list. I have the following to send the cursor to the bottom of the list : Selection.End(xlDown).Select but the next line is : Range("B4").Select which obviously continuously selects B4. What is the command to just drop down one cell? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Move cursor down one cell
Give this a try...
Selection.End(xlDown).Offset(1, 0).Select -- HTH... Jim Thomlinson "sot" wrote: I have recorded a macro to try and position my cursor in the next blank cell at the bottom of a list. I have the following to send the cursor to the bottom of the list : Selection.End(xlDown).Select but the next line is : Range("B4").Select which obviously continuously selects B4. What is the command to just drop down one cell? |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Move cursor down one cell
There are several ways to do it:
Selection.End(xlDown).Offset(1, 0).Select Or Selection.End(xlDown).Select Selection.Offset(1, 0).Activate Either of these two will put the cursor in the cell below the last data cell in that column. "sot" wrote: I have recorded a macro to try and position my cursor in the next blank cell at the bottom of a list. I have the following to send the cursor to the bottom of the list : Selection.End(xlDown).Select but the next line is : Range("B4").Select which obviously continuously selects B4. What is the command to just drop down one cell? |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Move cursor down one cell
Great. Many thanks
Sue "Nigel RS" wrote: ActiveCell.Offset(1,0) "sot" wrote: I have recorded a macro to try and position my cursor in the next blank cell at the bottom of a list. I have the following to send the cursor to the bottom of the list : Selection.End(xlDown).Select but the next line is : Range("B4").Select which obviously continuously selects B4. What is the command to just drop down one cell? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
macro to move cursor one cell right | New Users to Excel | |||
Automatically move cursor when cell value changes | New Users to Excel | |||
Automatically move cursor when cell value changes | New Users to Excel | |||
How do I get tab to move the cursor one cell over rather than 8? | Excel Worksheet Functions | |||
Cursor auto move from one cell to another | Excel Programming |