+ Reply to Thread
Results 1 to 6 of 6

Reduce File Size

  1. #1
    Registered User
    Join Date
    12-20-2007
    Location
    Staffordshire, England
    MS-Off Ver
    2007
    Posts
    48

    Reduce File Size

    I've created a document for work that has a lot of formulas & calculations. Overall it's size is just under 4mb. I will be wanting to put this file on a shared network drive so all users can have access to it but it will take a long time to open / save the file (I have put files of 2mb in size on the drive already and it takes around 2 minutes to open / save).

    Is there any way that the file size can be reduced? It has no images or pictures of fancy graphics, it just displays data and from what is entered on one sheet formula's then calculate what each store requires on another sheet. I estimate that there is around 2000 formulas / calculations, all written i.e. no macros or VBA used.

    VBA Noob and NVBC will have an idea of what I'm on about as they have seen a small version of the file when helping me with some of the formulas.

    Many Thanks,
    PacE

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Try this. (There are various versions of it on VBAExpress and elsewhere on the web.)

    It goes without saying that you would use this on a copy of your file and check the result afterward ...
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-20-2007
    Location
    Staffordshire, England
    MS-Off Ver
    2007
    Posts
    48
    Thanks shg,
    Do I just copy the above into a new module and then run the macro?

    Have to excuse me but as you can tell I'm not too good with these kind of things

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Press Alt + F11 > select insert new module > paste in the below > close the VB editor window > press Alt + F8 > select ExcelDiet and run

    If you still have a problem see link

    http://www.vbaexpress.com/kb/getarticle.php?kb_id=83

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Registered User
    Join Date
    12-20-2007
    Location
    Staffordshire, England
    MS-Off Ver
    2007
    Posts
    48
    Yeah I done that.... unfortunately it hasn't made any difference to the file size

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    I didn't think it would looking at your workbook.

    Thinks it's just the volume of formula's and colour.

    Links may help with layout out a spreadsheet

    http://www.ozgrid.com/Excel/ExcelSpreadsheetDesign.htm

    http://www.decisionmodels.com/calcsecrets.htm

    VBA Noob

+ 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