K
Kevryl
Working in Excel 2000.
I want to run a macro that deletes the name created on the previous running
of the macro, recreating the name (say) 10 rows down so that the data can
auotomatically be entered progressively down the sheet
I can't get the "Relative" button in the macro tool bar to work when
creating a range name within the macro. It always results in the range name
being absolute.
I have tried modifying the absolute statement (for example, reading)
"RefersToR1c1:= "=Sheet1!R356C5" to the Relative version,
"RefersToR1c1:= "=Sheet1!R[+2]C[+1]
However, the range name then will not attach to the reference (ie "stay
put") but to the position of the cursor (ie active cell) at the time the
macro is executed.
In all my years in the 80's and early 90's using "Enable" I never had a
difficulty in recording macro's as actual keystrokes, but Excel wants to
interpret those keystrokes in its own dictatorial way, recording the results
of the keystrokes rather than the simple act of them.
Has anyone solved this one?
I want to run a macro that deletes the name created on the previous running
of the macro, recreating the name (say) 10 rows down so that the data can
auotomatically be entered progressively down the sheet
I can't get the "Relative" button in the macro tool bar to work when
creating a range name within the macro. It always results in the range name
being absolute.
I have tried modifying the absolute statement (for example, reading)
"RefersToR1c1:= "=Sheet1!R356C5" to the Relative version,
"RefersToR1c1:= "=Sheet1!R[+2]C[+1]
However, the range name then will not attach to the reference (ie "stay
put") but to the position of the cursor (ie active cell) at the time the
macro is executed.
In all my years in the 80's and early 90's using "Enable" I never had a
difficulty in recording macro's as actual keystrokes, but Excel wants to
interpret those keystrokes in its own dictatorial way, recording the results
of the keystrokes rather than the simple act of them.
Has anyone solved this one?