+ Reply to Thread
Results 1 to 6 of 6

sudden increase in file size

  1. #1
    Registered User
    Join Date
    05-06-2013
    Location
    toronto,Canada
    MS-Off Ver
    Excel 2010
    Posts
    75

    sudden increase in file size

    Hi, i have posted the two files that pretty much contains the same data but one is only 300kb and the other one goes up to 800kb. I was wondering if someone can help reduce the file size(possibly the vba is causing this?)

    Also, it takes much longer to open the 800kb one than the other one...

    I have deleted the first few columns blank but they are only supposed to go down to row 200ish.
    Password is veronica.

    Help is appreciated.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,694

    Re: sudden increase in file size

    Just a thought and I don't know what you've written in the VBA but I have found that more formulas will increase my file size quickly. In fact I found that if I write a formula like:
    =if(iserror(vlookup(a2,sheet1!b2:E10000,3,false),"",(vlookup(a2,sheet1!b2:E10000,3,false)
    adds more file size than just writing it as:
    =iferror(vlookup(a2,sheet1!b2:E10000,3,false),"").
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: sudden increase in file size

    Hi,

    No formulas present. Conditional Formatting ranges identical in each sheet. Last cell no problem in either. Nothing in Name Managers.

    Can only suspect it's something to do with the code, though there I'm not much of an expert, I'm afraid.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Registered User
    Join Date
    05-06-2013
    Location
    toronto,Canada
    MS-Off Ver
    Excel 2010
    Posts
    75

    Re: sudden increase in file size

    Just to add on, when i switch the file format to xlsm or xlsb they seem to open up right away. But with the xls format the larger file takes ages to open .

  5. #5
    Registered User
    Join Date
    12-18-2013
    Location
    Istanbul, Turkey
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: sudden increase in file size

    Tried saving file as xlsb and size dropped to 7,924KB from 18,149KB and is better. But, when saved as xlsm size got lager to 18,151KB, not much 2KB more than before. On the other hand deleting pivot tables (only 2 were in) didn't change the size a lot, just 120KB. Will try to downsize the file and inform accordingly. Anyway, thank you very much.

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: sudden increase in file size

    have you tried the add in here
    http://support.microsoft.com/kb/244435
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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