How to add to a macro

J

Joe M.

Is it possible to add a recording to an existing macro? The only way I have
been able to to so this is to create another recording and then copy the code
from the addition and paste it into the first macro. It just seems there
should be an easier way.

Thanks,
Joe M.
 
E

Eduardo

Hi,
the best way is to write the macro from the beginning as per your
explanation that is the only way you have to add something to the macro
 
J

Jim Thomlinson

You can not append a new recording to an existing macro. There are 2 solutions.
1. copy and paste as you have done
2. Make a call from the original macro to the new macro

Sub Macro1()
'original macro
call Macro2
end sub

Sub Macro2()
'New macro
end sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top