+ Reply to Thread
Results 1 to 4 of 4

Pivot Table Workbook File Size

  1. #1
    Registered User
    Join Date
    11-11-2010
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Pivot Table Workbook File Size

    Hi,

    I have the following code, which produces 3 pivot tables from the same data in the same workbook. The code then copies all 3 pivot tables and saves them on a new workbook in a particular location. My problem however, is that the file size that is far too large. When I create the same report manually, the file size is only kb instead of MB. Currently, using the code, the filesize is 5.5mb. I don't want to past the pivot tables as values only, as the recipients need to be able to double click on the pivot table entries and see the original report and other fields not included in the actual pivot.

    Can anyone help?

    I have attached an example file with the code included.
    Attached Files Attached Files
    Last edited by Airdrielad; 12-29-2010 at 12:42 PM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Pivot Table Workbook File Size

    Are you using the same Pivot cache for all the tables?

  3. #3
    Registered User
    Join Date
    11-11-2010
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Pivot Table Workbook File Size

    Yes, I am using the same Pivot Cache for all the pivot tables.

  4. #4
    Registered User
    Join Date
    11-11-2010
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Pivot Table Workbook File Size

    Worked it out for myself, eventually, I copied the data to the new worksheet first of all and used a "last row " function to whittle down the sourcedata instead of selecting whole colums. Have dramatically reduced my saved pivot table worksheet from 5.54mb to 367 kilobytes!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1