+ Reply to Thread
Results 1 to 4 of 4

Reducing files sizes... are macros the solution

Hybrid View

ste_mulv Reducing files sizes... are... 12-16-2009, 10:36 AM
romperstomper Re: Reducing files sizes...... 12-16-2009, 10:41 AM
JBeaucaire Re: Reducing files sizes...... 12-16-2009, 04:55 PM
teylyn Re: Reducing files sizes...... 12-16-2009, 04:31 PM
  1. #1
    Registered User
    Join Date
    04-15-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    34

    Reducing files sizes... are macros the solution

    Hello all,

    I have a spread sheet that I need to store, access and edit from a network drive.

    I have 6 tabs as much of the imformation need to jump around between tabs. Each tab has data and formulars for 2000rows.

    I have also added in statments such as:

    =if(a1="","",'Sheet2'A1)
    to make the sheet look emtpy until the relevant fields are entered.

    The probelm is the file size is around 40mB, which takes far too long to load, making it unrealistic to actually use.

    I also have some conditional formats to keep the document colours good.

    Does anyone have a suggestion about how I can decrease the file size and thus make the document more likley to work day to day.

    Cheers

    Ste

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,980

    Re: Reducing files sizes... are macros the solution

    Keep formulas as short as possible, don't prefill blank rows with formulas, and when using conditional formatting, it is usually better to apply it to an entire row or column than to do it to individual ranges.
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Reducing files sizes... are macros the solution

    Quote Originally Posted by romperstomper View Post
    Keep formulas as short as possible, don't prefill blank rows with formulas,
    Great advice....

    ...and when using conditional formatting, it is usually better to apply it to an entire row or column than to do it to individual ranges.
    Have to disagree there. CF applied to entire workbook columns and rows is my #1 culprit on workbook bloat. I once did a CLEAR > ALL on all the cells outside of my data ranges on a workbook with 6 sheets...the file size dropped from 9MB to 55kb. Holy cow!
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Reducing files sizes... are macros the solution

    On each sheet, hit the two keys END and HOME quickly after each other. If your cursor jumps to a cell way outside of your data area, delete unneeded rows and column. Select one column to the right of your data area and hit Ctlr-Shift-right arrow, then right click and delete. Same approach for rows.

    Repeat for all tabs, then save the file, close it and reopen.

+ 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