Someone help! I have a massive project that I need to complete by using macros and I do not know how to complete it. I have a few of the codes needed completed. Here is what I need help with:
I have four folders
New Raw Data DC (T:\Program Circuit Board\P4911 Board Data\ NEW RAW DATA\DC)
New Raw Data Current (T:\Program Circuit Board\P4911 Board Data\ NEW RAW DATA\I)
Processed Raw Data (T:\Program Circuit Board\P4911 Board Data\ PROCESSED RAW DATA)
Complete (T:\Program Circuit Board\P4911 Board Data\ COMPLETE)
I have five.dat files that will be in the New Raw Data DC folder (all ending with A's) and five.dat files that will be in the New Raw Data Current folder (all ending with B's) The ten .dat files will be named xxxxx-A.dat, xxxxx-B.dat, yyyyy-A.dat and yyyyy-B.dat, etc. They correspond with one another. The file numbers will always be different. I need my macro to rename all .dat files as .csv files, open them as .csv files and delete the .dat files out of the New Raw Data folders, having them empty and ready to have new data received and saving the .csv files in the Processed Raw Data folder.
With my ten .csv files open, I need them to run through a template already created. This is the tricky part in my opinion. I need only two files (xxxxx-A and xxxxx-B) to go into the template at a time. After ran through template, I need the template to save in the Complete folder as the tag number (xxxxx).xls. This needs to happen five times, each one being saved as a .xls in the Complete folder. Each .xls file can be saved and close but the .csv still need to stay open.
I will then use my second macro to compile all .csv files open through a master summary template (one that which will keep growing and growing – no overwriting please). I need the .csvs to do this and somehow add to not overwrite (new .csvs to be added to next available column)
After the master summary page runs with the ten .csv, all the .csvs can close (being saved in processed raw data) and the master page can close (being saved in completed).
I know its a lot but I need help!!!! JJ thank youu!!!!
Bookmarks