![]() |
How do I change a macro to use relative cell addresses?
When I record a macro, it uses absolute cell addresses. How do I change the
macro to run from a specific cell and relative to that cell? |
try
activecell.offset(1,2) However, I suspect you are using a lot of SELECTIONS which usually aren't necessary. Why not copy/paste your code here along with an explanation of what you are trying to do. -- Don Guillett SalesAid Software "Roger D" <Roger wrote in message ... When I record a macro, it uses absolute cell addresses. How do I change the macro to run from a specific cell and relative to that cell? |
All times are GMT +1. The time now is 06:22 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com