Load and merge xlsx into xlsm workbook

mrmrf

New Member
Joined
Jun 3, 2019
Messages
34
Hi.


I am having trouble visualising the best way forward for this problem.


I currently have a master workbook with three sheets A,B,C


Within this master workbook, there area a number of buttons and VBA code On sheet "A" , and one for example can duplicate sheet A, to A1, A2 etc.


I then have VBA which allows the user to save all the sheets to a new excel document, but in a xlsx macrofree workbook to strip all VBA, and it also strips all the buttons with another VBA code.


What i want to do now is say open the masterworkbook, and have a VBA button to load the stripped down xlsx workbook, merge all and the sheets data into the master workbook which would include the VBA buttons and functions.


So in short, i want my masterworkbook, with all vba and buttons etc to be able to be able to open and merge a stripped down xlsx workbook to give back the funcationality of the masterworkbook with all data from the saved xlsx


Sorry for long winded post, but having trouble visualising a way forward.


Thanks
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,224,760
Messages
6,180,816
Members
452,996
Latest member
nelsonsix66

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