VBA to turn each sheet to new file and name as sheet name

juliaharry

New Member
Joined
Apr 12, 2011
Messages
25
Hi,
I plan to do a massive pivot of projects numbers, maybe a hundred and then do report filter pages to create a sheet for each project. I think this will also name the sheet after the project number if it is the report filter.
question, can excel create a hundred sheets in one workbook? Or do I need to do 3 or 4 workbooks.
i would then like to insert some code to create each individual sheet into a file of the same sheet name ...I.e. 1 sheet per 1 new separate worksheet and then save them all in the same directory.
many thanks
a VBA learner...

aka Julia
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi Julia,

The number of sheets in a workbook is only limited by available memory. Unless the sheets each have a lot of data you should be able to easily have hundreds. It is easy to write a macro that takes sheets and turns them into individual workbooks, each named according to the sheet name.

Damon
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,552
Members
449,088
Latest member
davidcom

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