I am running Excel 2007 and writing code that Excel 2003 users may execute.
I need some VBA help. I want my program to remember the address of an ActiveCell. I will then send the program off to execute other code and then I want it to come back to the same cell that was previously active.
I've tried
I've also tried
I keep getting compile errors on both.
Am I on the right track or do I need to try another way?
Thank you for your help in advance.
Charles
I need some VBA help. I want my program to remember the address of an ActiveCell. I will then send the program off to execute other code and then I want it to come back to the same cell that was previously active.
I've tried
Code:
Set MyRange = ActiveCell
Code:
Set MyRange = Range.AddressLocal
I keep getting compile errors on both.
Am I on the right track or do I need to try another way?
Thank you for your help in advance.
Charles