I am not a VBA expert. I learned by trial and error and from "Google" university and this fine Forum.
I have a file that is used every month. It is linked to 6 disparate data source files which change every month. The file harvests selected data from them, modifies, and reformats it into our preferred client report.
After running the harvesting for one client against the data files, I currently have a macro that performs some modification (Copy and Paste as Values, Break Links, Select tabs to be included in modified file, etc.) against the file.
Currently that macro ends by saving the modified file which checks for separate folder presence, creates if not present, and checks for Year sub folder, and creates if not present, and saves modified file.
The way the macro is programmed, I currently close the modified file manually, and then reopen the original file, select the next client from a pull-down list, and repeat the modify macro, then manual close, and open process.
I used to have some code that created the modified the file, and saved it, without changing or closing the original file. I don't seem to find it and I can't find what I need online.
What would the best way to change this the modification macro to save the file using the same check folder and naming convention in the macro, but without having to close the modified file and then reopen the original file?
Here is the check folder and naming convention part of the modification macro... sorry I did NOT find the Vbcode button mentioned in the help area....
Thank for your input and suggestions.Please Login or Register to view this content.
Bob
Bookmarks