+ Reply to Thread
Results 1 to 21 of 21

Slow reaction on cell changes

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-31-2007
    Location
    Aschaffenburg, Germany
    MS-Off Ver
    Office 2013
    Posts
    104

    Re: Slow reaction on cell changes

    There were just four additional defined names to identify folder and file name for the add-in file to be copied into the standard add-in folder plus alternate folder and file name in case a user had mapped her/his drive differently.
    The total number of defined cell names is 72 (there is an additional approx. 50 macro buttons with defined names). I have applications with many many more defined names that work way faster.
    Last edited by Mike1001; 08-26-2009 at 05:01 AM. Reason: add info

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

    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'?
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Contributor
    Join Date
    01-31-2007
    Location
    Aschaffenburg, Germany
    MS-Off Ver
    Office 2013
    Posts
    104

    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.

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,320

    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.)

  5. #5
    Forum Contributor
    Join Date
    01-31-2007
    Location
    Aschaffenburg, Germany
    MS-Off Ver
    Office 2013
    Posts
    104

    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 11:14 AM. Reason: learnt more

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    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 ...
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

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.6.0 RC 1