ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Move to next cell using VBA (https://www.excelbanter.com/excel-programming/306424-move-next-cell-using-vba.html)

anupam[_2_]

Move to next cell using VBA
 
Range("A2").End(xldown)

want to select next cell

:confused

--
Message posted from http://www.ExcelForum.com


JulieD

Move to next cell using VBA
 
Hi

you can use
Range("A2").Offset(1, 0).Select
to move down one row
or
ActiveCell.Offset(1,0).Select

Cheers
JulieD

"anupam " wrote in message
...
Range("A2").End(xldown)

want to select next cell

:confused:


---
Message posted from http://www.ExcelForum.com/




Tom Ogilvy

Move to next cell using VBA
 
Range("A2").End(xldown)(2).Select :rolleyes:

--
Regards,
Tom Ogilvy

"anupam " wrote in message
...
Range("A2").End(xldown)

want to select next cell

:confused:


---
Message posted from http://www.ExcelForum.com/




Soo Cheon Jheong[_2_]

Move to next cell using VBA
 
Hi,

Another way:

Range("A2")(2).Select

or

ActiveCell(2).Select


--
Regards,
Soo Cheon Jheong
_ _
^вп^
--




All times are GMT +1. The time now is 05:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com