Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 49972

VBA Script to fix formulas in multiple files with different sheet names

$
0
0
Good day all, first post and TBH, my VBA skills are limited to googling, finding something similar to my needs, and editing through trial and error until it works. However, I'm not having any luck with my current issue.

I currently maintain 300 excel files we use to track approximately 4000+ associates (20-60 tabs within each file) by their team/supervisor. Within each file, each sheet contains the associate's name, which is creating an issue I am having in trying to fix formulas when they are hardcoded in error (normally due to a user copying and pasting them incorrectly from one file to another). I'd like to create a global macro to fix all of the formulas within each file, but due to the sheet names in each file being different, I can't create record a macro in one file and use it in another (as the tab sheet names are different). Unused sheets in each file are given a name of "zzassoc 1" and so on. We use a macro to extract the sheet and another to clear the contents as needed (and renames the tab back to the original "zzassoc 1" tab name. In addition, I also have a macro which sort the sheets alphabetically and another macro which sorts an overview tab that is linked to each individual tab.

Is there a known VBA script that I can use that will disregard the sheet names but will still allow me to implement the formula fixes I need without having to go into each file to fix them manually?

Viewing all articles
Browse latest Browse all 49972

Trending Articles