Saving multiple Files with a User Form
Posted by Kurt Lyons on December 09, 2001 12:43 PM
I'm developing a program that needs to save 8 similarly named files. The Macro creates 4 of the files at a time. Then, on the next run, makes the other four. So far I have been able to save the files using a defalt name. However, the poor user needs to go into the folder and rename the files individually.
Rather than having to do a "Save As" for each file seperatly I want to make it so the User sets the Core name of the file once then the program adds the different extentions. Example:
The User Sets the name for all 8 folders to be:
"R12 STC 12_9_01"
The first batch of files get named:
"R12 STC 12_9_01 VIC1.syn"
"R12 STC 12_9_01 FAM1.syn"
"R12 STC 12_9_01 FWD1.syn"
"R12 STC 12_9_01 REV1.syn"
Then on the second run the program will use the same name to save the new files as:
"R12 STC 12_9_01 VIC2.syn"
"R12 STC 12_9_01 FAM2.syn"
"R12 STC 12_9_01 FWD2.syn"
"R12 STC 12_9_01 REV2.syn"
If anyone can help me on this I'd VERY much appriciate it!
Thanks in advance.
Kurt