Want a simple VBA code.

  • Thread starter Thread starter madhu
  • Start date Start date
M

madhu

Hi,

Could you please provide me with a VBA code to perform the following task:

There are records in a sheet and I need to move the Cell pointer to the next
row after the last record. Right now i press CTRL+DownArrow and again
DownArrow. Need a VBA code which will do this.

Thankyou.

MADHU
 
Cells(Rows.Count,"A").End(xlUp).Offset(1,0).Select

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Another (more literal way)

ActiveCell.End(xldown).Offset(1,0).Select
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top