Advice on updating templates

bolony21

New Member
Joined
Jul 22, 2016
Messages
40
Hi,

I have developed a range of Excel tools which are combined together into a core sheet periodically.

Multiple users input into the child templates and there can be 50+ of these live at any one time.

The child templates must all be exactly the same so that when the combination takes place it does not throw up errors.

------------------------------------------------------------------------

My question is around the updating/maintenance of these child templates.

Currently if I update a function/find a bug/make improvements, I need to spend hours over the weekend to individually enter into each live child template and update manually.

Obviously, this is not ideal and was looking for some advice on how you would accomplish this task. Am I overlooking a very simple way of making changes en-mass to multiple workbooks?

Thanks in advance.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi Bolony,
depending on what update you're making you could try to script your update with VBA. So say you'd need to update the templates by inserting a row below row 5 and changing the formula in D16 to =A1, you could run a script that loops through the template files, opens them, makes those changes and saves the files again. In order to do that more efficiently:
  • in every template file, add a named range with the version number (not in a sheet, just go to names to define e.g. "version_number" as =2020022401 ->date + 2 digit number), which you can update when you've updated it.
  • test your fixes/improvements on one local copy of the current version of the template file
  • if that works, run a loop for all the files
The tricky bit is making the code for the update, but after that you're at least sure that you haven't made any manual mistakes. Warning: do test your code before you deploy, macros are also a great way to mass-mess-up your sheets :).
Cheers,
Koen
 
Upvote 0

Forum statistics

Threads
1,223,954
Messages
6,175,603
Members
452,658
Latest member
GStorm

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