ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   excel macro (https://www.excelbanter.com/excel-programming/384772-excel-macro.html)

iguessiamadumbass

excel macro
 
All I want is a simple macro to move down one row and then over to the far left
If I were doing this manually it would be
[down]
[ctrl][left]
What is the code that I would put in Visual Basic for this macro. If I use
the record feature, it keeps taking me to the original cell. This used to be
so easy in the older versions.

Charles Chickering

excel macro
 
ActiveCell.Offset(1).End(xlToLeft).Select

--
Charles Chickering

"A good example is twice the value of good advice."


"iguessiamadumbass" wrote:

All I want is a simple macro to move down one row and then over to the far left
If I were doing this manually it would be
[down]
[ctrl][left]
What is the code that I would put in Visual Basic for this macro. If I use
the record feature, it keeps taking me to the original cell. This used to be
so easy in the older versions.


iguessiamadumbass

excel macro
 
Thanks Charles.

"Charles Chickering" wrote:

ActiveCell.Offset(1).End(xlToLeft).Select

--
Charles Chickering

"A good example is twice the value of good advice."


"iguessiamadumbass" wrote:

All I want is a simple macro to move down one row and then over to the far left
If I were doing this manually it would be
[down]
[ctrl][left]
What is the code that I would put in Visual Basic for this macro. If I use
the record feature, it keeps taking me to the original cell. This used to be
so easy in the older versions.



All times are GMT +1. The time now is 08:52 PM.

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