save worksheets to specific folder

bushmills

New Member
Joined
Aug 4, 2011
Messages
3
Hi
I have been trying to do a simple excel macro that would extract certain sheets from a workbook and save (values and page setup only) them separately into a defined folder.

Basically:
There will be a mapping sheet that contains a list of sheetnames. Next column there will be a simple letter to denote which folder it should go under.
Ex.
A1 Sheet1 B1 P
A2 Sheet3 B2 T
C1 Sheet1 D1 T
(T) = Test
(P) = Post

Result will be 2 folders (Test and Post)
Test will have Sheet2.xls and Sheet3.xls
Post will have Sheet1.xls

Hopefully this is clear enough..

many thanks <!-- / message --><!-- attachments -->
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

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