Combine two macros into one

  • Thread starter Thread starter Shirley
  • Start date Start date
S

Shirley

Hi,

I'm using Word 2003. I have two macros that I want to combine into one (add
2nd after the 1st).

I'm a complete novice in the VBA editor. If you can pls. tell me the
specific wording to copy from 2nd macro (do I take the entire thing?) and
where exactly to place at after the 1st macro (END WITH?) so it runs
seamlessly, I would truly appreciate it.

Thanks,
Shirley
 
If you want to run Macro 2 after Macro 1 then at the end of Macro 1, insert
a blank line if necessary before Exit Sub, and type:

Call <MacroName>

Where <MacroName> is the name of Macro 2.

Please post all follow-up questions to the newsgroup. Requests for
assistance by email cannot be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Coauthor of Word 2007 Inside Out:
http://www.microsoft.com/MSPress/books/9801.aspx#AboutTheBook

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 
Thank you so much. I know it's simple to you pros, but I just couldn't
figure it out. This info was so useful - thanks!

Regards,
Shirley
 

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

Back
Top