+ Reply to Thread
Results 1 to 11 of 11

Need help to reduce file size

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-08-2006
    Posts
    203

    Need help to reduce file size

    I still cant figure out how to write macros. If someone could help me out with this I would appreciate it.

    Currently I have a worksheet that is 20mb.
    This file contains what takes up most of the space. I repeat this line many times throughout the worksheet.
    010807.zip

    Once again it is a zero eliminating code.

    If someone could reduce the number of formulas for me, I think I could figure out how to adapt it to repeat throughout the sheet.

    Thank you

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by iturnrocks
    I still cant figure out how to write macros. If someone could help me out with this I would appreciate it.

    Currently I have a worksheet that is 20mb.
    This file contains what takes up most of the space. I repeat this line many times throughout the worksheet.
    Attachment 7323

    Once again it is a zero eliminating code.

    If someone could reduce the number of formulas for me, I think I could figure out how to adapt it to repeat throughout the sheet.

    Thank you
    Just remove the 'If' and in Tools, Options, View untick 'Show Zero Values'

    optionally, if you want this for only a specified range, then format the columns required to #

    hth
    ---
    Last edited by Bryan Hessey; 01-08-2007 at 07:30 PM.
    Si fractum non sit, noli id reficere.

  3. #3
    Forum Contributor
    Join Date
    08-08-2006
    Posts
    203
    Ok, heres the sheet with the results page. This is why I need the spaces removed. The 0 values are not an issue for me. My strung out formulas eliminate the empty cells so that everything is stacked neatly on the BOL.

    On the full version, the input page contains 60 copies of what is on the input page, then there is a BOL page for each of these. Then there are entry pages for 3 master BOLs which take info from the individual BOLs. There is an address list page which provides shipping addresses for each BOL.

    010807.zip

    This spreadsheet only creates BOLs for truck shipments. When I started here, this was done with manual entry of every cell. My spreadsheet has cut about 6 hours off the entry time. Now im looking to reduce the file size so it doesnt take so long to load and save on these antique computers we have at work.


    p.s. Brian, you created a similar sheet for me previously-
    http://www.excelforum.com/attachment...9&d=1164281726
    Im just looking for the basics that will temporarily sort the rows based on whether there is a value in column E, so that Columns BC:BF appear as they do now. I dont want anything to be deleted or hidden, because the forumlas on the BOL sheet are based on the cells in BC12:BF22

    Well actually BC12:BF16, but in the full version there is a second page on the BOL which accepts values from BC17:BF22
    Last edited by iturnrocks; 01-08-2007 at 08:29 PM.

  4. #4
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by iturnrocks
    Ok, heres the sheet with the results page. This is why I need the spaces removed. The 0 values are not an issue for me. My strung out formulas eliminate the empty cells so that everything is stacked neatly on the BOL.

    On the full version, the input page contains 60 copies of what is on the input page, then there is a BOL page for each of these. Then there are entry pages for 3 master BOLs which take info from the individual BOLs. There is an address list page which provides shipping addresses for each BOL.

    Attachment 7334

    This spreadsheet only creates BOLs for truck shipments. When I started here, this was done with manual entry of every cell. My spreadsheet has cut about 6 hours off the entry time. Now im looking to reduce the file size so it doesnt take so long to load and save on these antique computers we have at work.


    p.s. Brian, you created a similar sheet for me previously-
    http://www.excelforum.com/attachment...9&d=1164281726
    Im just looking for the basics that will temporarily sort the rows based on whether there is a value in column E, so that Columns BC:BF appear as they do now. I dont want anything to be deleted or hidden, because the forumlas on the BOL sheet are based on the cells in BC12:BF22

    Well actually BC12:BF16, but in the full version there is a second page on the BOL which accepts values from BC17:BF22
    Hi,

    the previous file was not really connected with this, except that it showed that you do not need to multiple-column shuffle the way you do.

    In this, columns G H I and K through BF can be replaced by columns BH through BO (ie, replace 51 columns with 8), and no macros were involved.

    The formula used will not sideways Fill because of your use of Merge cells, the information in C2:C11 could be stored in E2:E11 and columns C & D deleted (thereby removing the 'merge')
    The formula will downwards Fill

    The same code works also on your Input sheet on the batches down to that starting at Row 2962, and whilst this would save some 2300 formula cells the impact on your filesize will not be great.

    That you have 60 Print sheets with invoices drawn on 124 * 174 cells (ie, 21,576 cells per sheet * 60 sheets = almost 130,000 cells with much merging) will hold the filesize up in the 'higher-than-wanted' range.

    But, removal of some columns, and further removal of all the remaining 'If zero " ' tests should help a little.

    ---
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    08-08-2006
    Posts
    203
    Thanks, I will have a look at it tomorrow. Yes, I need to figure a way to reduce all the print sheets. Like perhaps conditional formatting to only create a print sheet if values are entered. But I have lots of time to make that happen.

    Thanks again,

    Dan

  6. #6
    Forum Contributor
    Join Date
    08-08-2006
    Posts
    203
    As it turns out, I couldnt wait till tomorrow. I just had a look at it, and it looks great. Its probly a good thing its not a macro, I will most likely be able to figure out what this does. Thanks again for a job well done. I will get a lot of use out of this. I use this kind of thing in most of my worksheets.

    -Dan

+ 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