+ Reply to Thread
Results 1 to 3 of 3

Slow response time when using VBA goal seek

  1. #1
    Registered User
    Join Date
    02-06-2011
    Location
    Indonesia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Post Slow response time when using VBA goal seek

    Hi all,

    For my project, I've input simple VBA code to automatically goal seek whenever changes are made to the specific cell. (detail spreadsheet can be found in the attachment).
    Everything work well, means "result cell" will automatically re-update within second after I change "input cell".

    Issue come arise when I start to add chart (sheet Trial2) to visualize new value where slow response time were noticed when I change "input cell".
    (INFO: I use Y-error bar for creating pink line in the chart)

    It doesn't mean that "result cell" stop re-updated, in contrary, it work fine but it's seems that there is some delay time for excel to response when I click other cell after I change "input cell".

    Can someone help me how to solve this issue ? or maybe there is an error in my code that make this delay in response ?


    B'rgrds

    Hendra
    Attached Files Attached Files
    Last edited by Hendra S; 03-18-2011 at 12:38 AM.

  2. #2
    Valued Forum Contributor gjlindn's Avatar
    Join Date
    08-01-2011
    Location
    Dodgeville, WI
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    369

    Re: Slow response time when using VBA goal seek

    Hello Hendra,


    It looks like you may be experiencing a chain of Workbook events. You could try disableing events in your code. You originally had this:
    Please Login or Register  to view this content.
    Try this instead:
    Please Login or Register  to view this content.
    Good luck!
    Last edited by gjlindn; 08-01-2011 at 11:57 PM.

  3. #3
    Registered User
    Join Date
    02-06-2011
    Location
    Indonesia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Slow response time when using VBA goal seek

    hi gjlindn,

    it works just like what I wanted. thanks for the solution.

+ 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