+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    Forum Moderator romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    Alibi
    MS-Off Ver
    All
    Posts
    8,262

    Re: Slow reaction on cell changes

    It's not so much the number of names as how they are defined. How/where are those additional 4 names used? And what exactly do you mean by 'buttons with defined names'?
    So long, and thanks for all the fish.

  2. #17
    Registered User
    Join Date
    01-31-2007
    Location
    Aschaffenburg, Germany
    MS-Off Ver
    Excel 2003
    Posts
    56

    Re: Slow reaction on cell changes

    I had just added those defined cell names in a hidden sheet that I use for calculations by just using the Insert, Name, Define functionality or directly entering them into the Name Box. Those cells are only referred to by macro code (no cell formulas). Names are like fdMacroFile or fnMacroWkBk.
    The macro buttons with defined names are buttons with macro assignments that I call like btnA7 instead of Button 1 or the like in order to have a stable reference in case of required automatic updates to the file.

  3. #18
    Forum Moderator romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    Alibi
    MS-Off Ver
    All
    Posts
    8,262

    Re: Slow reaction on cell changes

    Oh I see, you just mean you changed the button names.
    I can't think of another reason offhand for the behaviour you describe if it's not to do with volatile functions or event code. (if it were just a question of formula complexity I would have expected the behaviour to be there before, although if you have moved lots of UDFs to the add-in, that might slow things down a little.)
    So long, and thanks for all the fish.

  4. #19
    Registered User
    Join Date
    01-31-2007
    Location
    Aschaffenburg, Germany
    MS-Off Ver
    Excel 2003
    Posts
    56

    Re: Slow reaction on cell changes

    After all of your suggestions, I guess I found the reason for the slow file:
    It seems to be linked pictures!
    I stripped my file down by eliminating all remaining macros - performance was still bad.
    I deleted a number of linked pictures - and there we go: performance is back to normal!

    One of the sources for linked pictures was a relatively heavy graph on that particular file, which explains why one doesn't see that poor performance in other files which use less heavy graphs!

    Thank you all, especially RomperStomper, for your advise!
    I learnt a lot about optimizing my applications from that, which will certainly help me in future applications!

    Mike
    Last edited by Mike1001; 08-26-2009 at 12:14 PM. Reason: learnt more

  5. #20
    Forum Moderator shg's Avatar
    Join Date
    06-21-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007
    Posts
    25,134

    Re: Slow reaction on cell changes

    I had completely forgotten about that as a potential cause. A few years ago, I had a single linked picture in a workbook to see what was going on in a few cells on another sheet, and it completely whacked performance.

    Going to write that down, right now ...
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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