Edit Macro by Using macro in hundred of sheets

Cloud67

New Member
Joined
Mar 13, 2019
Messages
20
Hello,

I have one workbook with few macros. This will be distributed among users who will then create copies of it in a folder. I am expecting hundred of copies. If later on for some reason I would edit a macro in all of these sheets, is there a way to do it at once with some other macro? Those files will not be on my computer that is why I cannot use personal macro. They will be on sharepoint. I will download them on my computer and then edit the macro for all of them.

Greatly appreciate the help!

Thanks,
Ofeera
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Speaking as someone who maintains some macro-enabled workbooks used by 100+ users, that approach sounds completely unworkable to me. Instead I recommend adopting a formal versioning approach. If you need to modify a macro (for bug fixes or new features) you issue a new version of the workbook that you post to a repository and then notify your users by some means (email) that a new version is available and where to get it. If we are talking about a business internal sharepoint, you can add a "check for new version" button that the user can press to check for any new version. If there is user data in the old workbook that your users may need to transfer to the new version when they upgrade to it, you should write some sort of import macro(s) to make it as painless for them as possible.
 
Upvote 0
If I want to have the same Macro, I want to put into several Buttons on my workbook I just create the one Macro named "Alpha" for example. Now this is a Module script not a private script.

Then in all the buttons where I want to run this button from, I just enter:

Call Alpha

Call Alpha then runs the script named Alpha

This way I only need to modify the one script named Alpha
Not all the scripts in all my buttons.
 
Upvote 0

Forum statistics

Threads
1,215,463
Messages
6,124,963
Members
449,200
Latest member
indiansth

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