Automatically create files from database

neeraj_chow

Board Regular
Joined
Aug 1, 2003
Messages
62
I summarise my data (more than 5000 records) which is compiled daily from different sources using a pivot table, comprising of more than 20 unique items.
On a daily basis, I have to break the database into 20 files (i.e. the number of unique items in a particular field in the file) and circulate the file to different persons
:confused: I was looking for a way wherein I could automatically segregate the database into 20 different files with the filename and sheet names be having the name of the unique item plus the number of records in the file in brackets.
Help will be greatly appreciated.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
If I get you right, you want to show the base data of the 20 fields ?

If so, doubleclicking the PT total cell will produce a sheet with the data.
This principle can be used in a macro by recording the action.
 
Upvote 0

Forum statistics

Threads
1,214,929
Messages
6,122,315
Members
449,081
Latest member
tanurai

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