Saving a specific worksheet to a specific existing file

SJ-NY

Board Regular
Joined
Feb 16, 2008
Messages
156
Each quarter I create 200 files and a separate file with 200 tabs. Each worksheet has information specific to one of the 200 files. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
Objective - to have each worksheet saved in the corresponding workbook. This is different than saving worksheets as separate files, here I want to save a specific worksheets to existing files.<o:p></o:p>
The worksheet name and the file name have the same first 4 characters - the filename has additional characters to designate the fiscal quarter, example: worksheet “ABCD” corresponds to file “ABCD-1Q11”. ( I can have the same name for both the tab and file.)<o:p></o:p>
Other information – The macro will be in a separate file in the same directory as the 200 files and the file containing the 200 tabs. Two ranges containing the worksheet names and the filenames are in the macro file. All files are Excel 2003. The 200 files are createdeach quarter by doing a “save as” on a standardized excel file looping through a range containing the file names.<o:p></o:p>
I would appreciate any guidance and code for this.<o:p></o:p>
Thanks<o:p></o:p>
Steven<o:p></o:p>
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,224,519
Messages
6,179,263
Members
452,902
Latest member
Knuddeluff

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