ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Call one Macro after another (https://www.excelbanter.com/excel-programming/380762-re-call-one-macro-after-another.html)

Nick Hodge

Call one Macro after another
 
It's difficult to know what to advise without seeing code, as this doesn't
seem a satisfactory way to run one operation but

Sub Macro1()
'Do Stuff
Macro2
End Sub

Sub Macro2()
'Do Stuff
Macro3
End Sub

Sub Macro3()
'Do Stuff
End Sub

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"MacroLearning" wrote in message
...
I am working with one workbook and 23 sheets. The macro goes from one
sheet
to the other, but it's too large so I built 3 macros to continue where the
previous one left. The macros are all one workbook. Right now, I'll run
the
first macro, that stops, then I run the second one and then the third.
How
can I call the macros to run one after the other without stopping in
between?




All times are GMT +1. The time now is 08:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com