+ Reply to Thread
Results 1 to 5 of 5

Thread: Macro causes big increase in file size; new precisions

  1. #1
    Forum Contributor
    Join Date
    08-04-2005
    Posts
    131

    Macro causes big increase in file size; new precisions

    A macro in my document causes the size of the file to grow about twice its size sometimes, not always; and it’s impossible to know, before running it, if that malfunction is going to happen or not. New precisions:
    - The document contains and operates several macros (about 15), but I am pretty sure the increase in the file size is always caused by one and the same macro.
    - The one I suspect involves two functions that I fear might be responsible for the unwanted increase: Subtotals and also Filtering (and then handling the lines shown).
    - I’ve tried the EXCEL function Inspecting and then removing hidden objects or materials, and that has no effect (only a few kilobytes saved).

    Any tips on why that happens and how it can be prevented or how the extra size can be eliminated when detected?
    Thanks in advance
    ACA
    Last edited by aca; 02-01-2012 at 04:53 AM. Reason: I intended to post this on PROGRAMMING; in fact I've posted a copy there; I'd like this one removed from EXCEL WORKSHEET FUNCTIONS. Sorry about the mistake

  2. #2
    Valued Forum Contributor dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    New Delhi, India
    MS-Off Ver
    Excel 1997, 2000, XP, 2003, 2007, 2010
    Posts
    2,406

    Re: Macro causes big increase in file size; new precisions

    Hi ACA,

    Just as a check.. let me know if this file is shared one. Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey
    +919810929744
    dilipandey@gmail.com

  3. #3
    Forum Contributor
    Join Date
    08-04-2005
    Posts
    131

    Re: Macro causes big increase in file size; new precisions

    Thanks DILIP,
    No, the file is not shared.
    But, please, see my last editing of my own message: I inteded to post may query on the Programming forum.
    Sorry about the mistake.
    But if you can continue helping me, here or there, thanks a world.
    ACA

  4. #4
    Valued Forum Contributor dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    New Delhi, India
    MS-Off Ver
    Excel 1997, 2000, XP, 2003, 2007, 2010
    Posts
    2,406

    Re: Macro causes big increase in file size; new precisions

    Ok..

    This is getting interesting..

    Would like to see the file, please upload. Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey
    +919810929744
    dilipandey@gmail.com

  5. #5
    Forum Contributor
    Join Date
    08-04-2005
    Posts
    131

    Re: Macro causes big increase in file size; new precisions

    Thanks for your interest. But, on preparing my file for you, I've seen that it won't work on your computer, as the macros are written for a Spanish version of Excel, requiring Excel to use those same names for its functions like, say, "Buscar" (for search), , "Suma" (for addition), "Totales" (for totals) and so on. If Excel uses another word, the macro will crash.
    Again, thanks anyhow.
    ACA

+ 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.2.0