Making the same change to multiple files

basicallyawesome

New Member
Joined
Jul 10, 2018
Messages
29
Office Version
  1. 365
Hi, I did search before posting and saw Cindy Ellis’s answer on this thread, but do feel my situation is different enough to warrant asking another question.

Employees and hired contractors get paid a specific fees for two services. These fees are in two separate cells on each of their invoices which are creating using excel. Each person has a separate excel workbook (resulting in over 800 workbooks, not ideal, but we’re now in a time crunch and can’t fix it). The first tab of each workbook, the one that needs to be updated is labeled with the persons name, again due to the volume this would be difficult to change at this stage in the game. All 800+ sheets need to be updated with the new fees for the 2023/24 year. To make matters worse, some have been merged into master workbooks so in some workbooks there is more than one sheet that needs to be updated.

is there away to overcome these challenges and update one sheet and have the rest update using VBA? Even if this can’t be completely automated, is there a way to use one sheet as a master sheet and have the rest update off of them (could I use VBA to insert the cell references to the master sheet on opening?)

Thank you!
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Yes, it should be possible to loop over all the wb's in a file folder, open each one, count the sheets, if 1 change 1 if more change more. All cells to be changed would have to be in the same place and I think, use the same values. Then save and close one by one. If the subfolders have to be navigated, that adds to the complexity. If it were me I'd try to convince my boss that using Excel this way is madness, and this should be proof of why. Time for a database.

You could probably assemble a team and split up the workbooks and edit them all before you could code this.
 
Upvote 0

Forum statistics

Threads
1,214,948
Messages
6,122,420
Members
449,083
Latest member
Ava19

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