Creating a 'down' command in a macro

dahowarduk

New member
Joined
Jul 15, 2012
Messages
28
Reaction score
0
Points
1
Location
UK
Excel Version(s)
2104
Cell A10 has the range name TEST
Today I want define Cell A11 as having the range name TEST.
A few days later I will want to define Cell A12 as having the range name TEST.


In 'long hand',I could teach it a macro that says :-

GOTO RANGE NAME TEST
DELETE RANGE NAME TEST
DOWN
CREATE RANGE NAME TEST


However the DOWN is permanently interpreted as go to A11, and so would not work as a macro unless it is edited each time.

Any solutions?
 
Code:
    Range("Test").Offset(1, 0).Name = "Test"
 
Back
Top