![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: Where the wild roses grow
Posts: 285
|
Is it possible to link macros together, so that you can make them go off in a chain? Such as I have a macro that deletes a couple of rows, then another that formats the data into a table, then another that creates a chart. Instead of clicking three buttons, can I click one to make them all happen in turn? |
|
|
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Sure can
Try: Run "MyMacro1" Run "MyMacro2" |
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
Where would that go exactly?
|
|
|
|
#4 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
In any normal procedure that you want to use to run all your other Procedures.
Eg Sub DoItAll() Run "MyMacro1" Run "MyMacro2" End Sub |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Location: Where the wild roses grow
Posts: 285
|
Lovely, thanks Dave
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|