Write Macro to Run Macro

fedas18

Board Regular
Joined
Jan 21, 2010
Messages
81
Hi I am trying to write a macro to run the following macros:

Sub Macro17()
Sub Macro19()
Sub Macro21()
Sub Macro22()
Sub Macro24()
Sub Macro29()

Then be taken to cell B11

Does anyone have any idea how to do this? I tried recording it but it didn't work.

Thanks!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Try

Code:
Sub CallLots()
Call Macro17
Call Macro19
Call Macro21
Call Macro22
Call Macro24
Call Macro29
Range("B11").Select
End Sub
 
Upvote 0
I got the following error:

Run-time error '438'

Object doesn't support this property or method.

Any idea?
 
Upvote 0
Nevermind, I figured it out. It was my mistake.


Your macro worked perfectly!

Thank you very much.

Learning a new thing everyday.......
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,285
Members
452,902
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top