Best way to update macro's?

Troy1

Board Regular
Joined
Jul 2, 2014
Messages
149
Hello Guys,

I am trying to figure out the best way to update macros on my coworkers macros. They all have workbooks saved on there computer tailored to there specific terminals they cover. However they all use the same macro's (email macros, formatting macros, etc) embedded into each of there workbooks. Every time I want to update there macros I have to do it about 50 times for each workbook.

I am wondering if there is a way to have peoples macro's to automatically update when I update a master macro file or have the ability to create a new macro that will automatically install on everyone's workbook.

I have done research on this online and people are saying to create an add-in then somehow work it into a template. But I do not understand how this will automatically update there macros or add new macros to there workbooks. They can not create a new workbook everyday they have to use the workbooks they already have because all of there data is in there with tons of formulas, charts, etc.

Can someone please help me out?
 
Hello SHG,

How would I create a "standard code module" in the add-in? I already have the add-in created so I do go into it and install the 123 macro so it will work when I press the button?
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
In the VBE, select the project, Insert > Module.
 
Upvote 0
In the VBE, select the project, Insert > Module.


Yeah that's what I did and when I open the add-in it does show the macro created under my add-in project. Not sure what is going on! Everything seems that it should work but it still gives me the error that it can not find the macro.

Any other suggestions?
 
Upvote 0
Dunno. Put the workbook on box.net and post a link.
 
Upvote 0
Dunno. Put the workbook on box.net and post a link.

Here is a copy of my add-in and excel spreadsheet I am trying to install it in.


Add-in:

Code:
 https://drive.google.com/file/d/0B7ZAZgflZvezZHUyZnVPUzlGYmM/edit?usp=sharing

Spreadsheet:

Code:
 https://drive.google.com/file/d/0B7ZAZgflZvezRHBYeDZSQmhrd0U/edit?usp=sharing
 
Upvote 0
Change the name of the module to something other than "123", or change the code from "123" to "123.123"
 
Upvote 0
Change the name of the module to something other than "123", or change the code from "123" to "123.123"

Hahaha that worked great! I can't believe it was that simple. Thank you so much for all of your help!
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,099
Members
449,205
Latest member
ralemanygarcia

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