+ Reply to Thread
Results 1 to 6 of 6

(kind of)Decrease xml file size

  1. #1
    Forum Contributor
    Join Date
    01-29-2008
    Location
    Scotland
    MS-Off Ver
    2003
    Posts
    237

    (kind of)Decrease xml file size

    Can any one help to reduce this or explain why...

    My original file size is 8.2mb ( yes large ) I have been updating the sheet and all i have done was to add 4 lines of vba code, not very big ones at that. I also added a new sheet.
    Saved the file and its now 17.9mb , zipped to 8.2mb

    I reopend the file and removed a worksheet that was not needed and saved the file again this time its showed as 18.3mb, larger than before with less in it, i zipped this file and it resulted in cutting the file down to 3.0mb

    This is a blank project with no data

    Can any one explain the in consitant file sizes and is there anyway of keeping the blank project smaller...??

    Gareth
    Last edited by drgogo; 10-14-2010 at 10:23 AM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    15,805

    Re: How to decrease xml file size

    You have lots of shapes hidden in your sheets?

    Excel 2003 was an entire different format of file than Excel 2007. 2003 took lots more space.

  3. #3
    Forum Contributor
    Join Date
    01-29-2008
    Location
    Scotland
    MS-Off Ver
    2003
    Posts
    237

    Re: How to decrease xml file size

    Shapes?

    Explain and how do i get rid of them?

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    15,805

    Re: Decrease xml file size

    http://www.rondebruin.nl/shape.htm or http://www.rondebruin.nl/controlsobjectsworksheet.htm

    I found I had them from the immediate window in vba. do a "? activesheet.shapes.count" and press enter. Go to another sheet and try again.
    This will let you know if you have any of this problem.

  5. #5
    Forum Contributor
    Join Date
    01-29-2008
    Location
    Scotland
    MS-Off Ver
    2003
    Posts
    237

    Re: Decrease xml file size

    I had a look at the links,. unfortunately i have no shapes as the count came to "0"

    So still no answer on why my file is so large, hate 2003 lol

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    15,805

    Re: Decrease xml file size

    I saw a Mr Excel demo where he was showing how the file format had changed from 2003 (.xls) to 2007 (.xlsx). He renamed a .xlsx file to .zip. Then he was able to look inside at the different parts of the file. He said that Micorosft had now essentially zipped all 2007 files. Look at your file by renaming it .zip, open it up (as a zip file) and go down the zip folder branches. See which one of the files in the zip is huge. This should allow you se see what is big. This should give you a hint of what is growing. Of course rename it back to .xlsx when done.

    This is pretty techy but is what I'd be doing if I had your problem.
    hth

+ 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