Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-31-2014, 02:39 AM
macropod's Avatar
macropod macropod is offline 5 Macros in One Document--Question Windows 7 64bit 5 Macros in One Document--Question Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

One simple way would be to insert a line with:
Call Macroname
as the last line of the first four macros, where Macroname is the name of the next macro.

Another way, which you allow you to continue running the independently if you wish is to create another macro like:
Sub Main()
Call Macro1
Call Macro2
Call Macro3
Call Macro4
Call Macro5
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Document Property Question ksigcajun Word VBA 9 10-14-2014 11:26 AM
5 Macros in One Document--Question Advanced Master-Sub document question MvdE Word 7 04-17-2014 05:42 AM
5 Macros in One Document--Question Macro Needed to Insert Asnwer to A Question in Multiple Choice Format Question rsrasc Word VBA 7 03-28-2014 12:28 PM
Creating document from template but macros are still linked to template webharvest Word 0 07-16-2011 09:34 AM
5 Macros in One Document--Question Discover if Macros exist in template or document jimbassett Excel 2 02-08-2010 08:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft