View Single Post
 
Old 05-25-2015, 01:21 AM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,137
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

It depends what is in the macros. Without knowing that it might be better to create a third macro e.g.

Code:
Sub MyMacro()
Call MacroName1
Call MacroName2
End Sub
where MacroName1 and 2 are the names of your macros.
To see how that works try the following
http://www.gmayor.com/installing_macro.htm

Code:
Sub MyMacro()
    Call MacroName1
    Call MacroName2
End Sub

Sub MacroName1()
    MsgBox "This is MacroName1"
End Sub

Sub MacroName2()
    MsgBox "This is MacroName2"
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote