+ Reply to Thread
Results 1 to 21 of 21

Slow reaction on cell changes

Hybrid View

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

    Re: Slow reaction on cell changes

    Quote Originally Posted by Stormseed View Post
    I guess, you are quite an experienced fellow to troubleshoot OS related issues.
    This isn't an OS issue though?
    Lately I remember someone like you at MrExcel who used to troubleshoot exactly the same way as you do and his name is Rory A.
    Great minds think alike then! (or is it that fools seldom differ? )
    I get cranked knowing more about issues like these for example
    Excel junkie, huh?
    Everyone who confuses correlation and causation ends up dead.

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

    Re: Slow reaction on cell changes

    Thanks for replies, guys.

    I would tend to say that, no, it is not event code driven, as I had set EnableEvents = false and the same behaviour continues.

    As I had said, I had even removed the add-in, and the slow motion continued.

    There are dozens of macros in the workbook, but these are all just small pieces of code which do nothing but calling the macros in the add-in.
    Two "bigger" ones (no more than 50 lines of code) just make sure the add-in is loaded and the other one is the relay function that calls the macros in the add-in and hands over arguments.

    RomperStomper, when the problem is related to complex formulas (which, I have to admit, are contained in this workbook), would one see a delayed reaction even when one changes cells that are not referred to by any other cell?

    What I found out today is that the "new" file with not much user data entered into it has normal speed, but as you enter more data, it becomes slower.

    What drives me crazy is that I really didn't change a lot in spreadsheets at all when I came up with that add-in (just a few user defined cell names on top of those already existing to ensure macros find the correct data), compared to the privious version without add-in and without slow motion.

    What I have seen once in a while is that 'Ready' and 'Calculate' are shown in the status bar at the same time.

    Does that give any of you a hint what the problem could be?

    Mike

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

    Re: Slow reaction on cell changes

    If you use Volatile functions like INDIRECT, OFFSET, NOW and others, then those functions recalculate whenever the workbook does, even if their inputs don't change. If other calculations then depend on these volatile calculations, you end up recalculating large parts of the workbook for no reason. That can cause exactly the behaviour you describe. For more details see this page (and others on the same site).

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

    Re: Slow reaction on cell changes

    Yes, this had been a problem while ago, where I had 'today()' contained in about 1500 formulas, but I had eliminated that issue by creating a user defined cell called TDay which is loaded by a workbook_open macro with today's date ('8/25/09', not '=today()') and replaced 'today()' with TDay in all formulas.
    I have quite a number of 'vlookup' calculations across sheets; would you consider those volatile?

  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

    I just check the link about volatile functions you provided, RomperStomper. This is very useful information for me - thank you!
    I just noted that I have about 40 cells that contain the 'cell()' function. Would you think that number would slow that application down?

    Anyways, I now have something to chew on! I will have to study that for a while and get back to you with results.

    I do appreciate your qualified and quick help!

    Best regards,
    Mike

+ 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