moving one cell down

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Moving one cell down in VBA

Moving one cell down in VBA

resolvedResolved · Medium Priority · Version 2007

Sergio has attended:
Excel VBA Intro Intermediate course

Moving one cell down in VBA

Hi,

I am trying how to express in VBA to move with cursor one cell down.
I use the following

"Selection.End(xlDown).Select"

to go to the last non empty cell but after that I would need to go one further cell down to do a paste.....however when I record the
macro I have got the following:

Range("A4").Select

Which obviously will move the cursor to the cell A4.....so is there a way to dynamically move the cursor one cell down?
Thanks a lot for the reply

Sergio

RE: Moving one cell down in VBA

Could you not use ActiveCell.Offset(1, 0).select ??
Sophie

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Entering text in Multiple Worksheets

If you have a number of worksheets in a workbook that require the same information (data or tables) on each worksheet, this can be done as follows:

Hold down the Ctrl key and click one or more of the additional worksheet tabs (i.e. Sheet2, Sheet3, etc).

In your mainsheet (Sheet1) enter the required data or design a table.

When done 'Click' on the other sheet tabs and you will see that the information entered in Sheet1 is on all the other selected worksheets.

NB Do not forget to deselect the worksheets - otherwise you may add data to the main worksheet and all the selected worksheets will also have that data!

View all Excel hints and tips


Server loaded in 0.08 secs.