ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I change a Macro to use relative cell addresses? (https://www.excelbanter.com/excel-discussion-misc-queries/37880-how-do-i-change-macro-use-relative-cell-addresses.html)

Roger D

How do I change a Macro to use relative cell addresses?
 
I have a worksheet with data in column A and B. I want to start in cell a1
and go down, depress the shift key, right arrow, edit, cut, right, right, up,
return, left, left, down, delete row.

I will then be in cell a2 and I want to do this repeatedly.

Don Guillett

homework?
try recording a macro while doing this manually

--
Don Guillett
SalesAid Software

"Roger D" wrote in message
...
I have a worksheet with data in column A and B. I want to start in cell

a1
and go down, depress the shift key, right arrow, edit, cut, right, right,

up,
return, left, left, down, delete row.

I will then be in cell a2 and I want to do this repeatedly.





All times are GMT +1. The time now is 12:23 AM.

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