macro help

W

wamstrdad

Can you provide help on the VBA code to run multiple macros from a single
"super macro"? In other words, what is the code for a macro named XYZ to run
macros the macros named ABD, DEF and GHI?
 
M

Mike H

perhaps

Sub supermacro()
MsgBox "supermacro"
abd
def
ghi
MsgBox "and back to supermacro"
End Sub

Sub abd()
MsgBox "Abd"
End Sub

Sub def()
MsgBox "def"
End Sub

Sub ghi()
MsgBox "ghi"
End Sub


Mike
 

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

Similar Threads

Run Macro If Cell have "x" value 0
Need some help with codes 2
macro to run macros 3
Pasting cell contents into a macro 1
Disable Macro Alert 2
About Macros 1
Macro Help 1
Passing text to VBA code 16

Top