S
Sharon
How can I get a macro to run when it involves two lines, one under the other?
Only the top line shows.
Only the top line shows.
JMB said:When you record the macro, turn on relative referencing (s/b a button on the
macro recording toolbar).
Probably, when you recorded the macro - the recorder put the first line in
the active cell. Then, when you hit Enter, it hardcoded the cell reference
for the second line, so every time you run it the first line will go into
whatever the currently selected cell is (relative reference) and the second
line will go into the exact same cell the second line went into when the
macro was first recorded (absolute reference).