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.
 

Some videos you may like

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

BrianB

Well-known Member
Joined
Feb 17, 2003
Messages
8,127
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,575
Messages
5,596,961
Members
414,114
Latest member
Lost_User21

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
Top