Imported sheet has macros but need to use macros in main workbook not referencing macros in origin workbook

Storm8585

New Member
Joined
Sep 5, 2014
Messages
47
Hi all,
In need of some help. I have a main workbook which I use to generate costing sheets. These sheets are generated with macro button in for navigation. The costing sheet when completed is then exported from the main workbook and saved as it's own workbook for users to reference . However at times, we need to import these costing sheets back into the main workbook. But when I do and click the macro buttons on the imported worksheet it wants to run the macro from the saved cost sheet and not the main workbook it has been imported into. The main workbook has the same named macros in and so i want it to run these instead. Any help?
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,216,272
Messages
6,129,822
Members
449,538
Latest member
cookie2956

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