execute a macro saved in a closed workbook and repeat for all the workbooks in the same folder

olopa67

New Member
Joined
Mar 15, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
thank you for your time.
i have a workbook with a list of ingredients and in a different folder a bunch of recipes which utilize data from the main ingredients workbooks.
what i would like to happen is to be able to execute a macro from the ingredients workbook that will launch another macro saved in the recipe and for all the recipes files.xlsm in the folder. so i will update all my recipes in the folder with just one click. Im assuming that when the recipes files is going to be open it will automatically refresh the power query within.
and if possible to avoid the question to update the link and any other error message that might pop up.
thank you very much for your time again
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,214,596
Messages
6,120,438
Members
448,966
Latest member
DannyC96

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