+ Reply to Thread
Results 1 to 4 of 4

Macro to Automate Goal Seek in Multiple Sheets

  1. #1
    Registered User
    Join Date
    01-05-2021
    Location
    UK
    MS-Off Ver
    64 bit
    Posts
    2

    Macro to Automate Goal Seek in Multiple Sheets

    Hi there,

    I have a workbook consisting of three sheets. Sheets 2 and 3 are dependent on the values input into sheet 1. I am trying to develop a macro to automate goal seek in sheet 3 to find a value which I can then copy back over to sheet 2. This is the code I am using just now, obtained from an earlier post in this forum:

    Please Login or Register  to view this content.
    I copied my goal seek target over from sheet 2 to sheet 3 and the code is working successfully in sheet 3. However, after changing the inputs in sheet 1 (which will then change the goal seek target as intended), the goal seek calculated cell in sheet 3 is not changing until I manually go into the sheet itself and click a cell.

    Sorry if I haven't explained this well, I'm new to using macros in excel.
    Last edited by AliGW; 01-07-2021 at 12:30 PM.

  2. #2
    Registered User
    Join Date
    07-02-2013
    Location
    Cheshire
    MS-Off Ver
    Office Professional 2007
    Posts
    79

    Re: Macro to Automate Goal Seek in Multiple Sheets

    Hi there. I realise you are new, but please note the forum rules, especially rule 3 regarding cross-posting to other forums. https://www.excelforum.com/forum-rul...rum-rules.html

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,812

    Re: Macro to Automate Goal Seek in Multiple Sheets

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. I will do it for you today, as you are new.)

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. The link has been provided for you in post #2 this time.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    01-05-2021
    Location
    UK
    MS-Off Ver
    64 bit
    Posts
    2

    Re: Macro to Automate Goal Seek in Multiple Sheets

    Thanks for bringing these to my attention, sorry for my mistakes!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Automate Goal Seek
    By mcarver49 in forum Excel General
    Replies: 11
    Last Post: 11-27-2019, 07:27 PM
  2. Trying to automate Goal Seek Function
    By mjrubin23 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-23-2016, 10:13 AM
  3. Automate What IF Analysis (Goal Seek)
    By Savan87 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-13-2011, 01:03 PM
  4. Using Macro to automate goal seek in one column range
    By Hendra S in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-09-2011, 07:49 AM
  5. Automate Goal Seek in VBA??
    By shaun2985 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-22-2009, 09:17 AM
  6. Automate Goal Seek
    By marcghannoum@gm in forum Excel General
    Replies: 6
    Last Post: 01-26-2009, 02:47 PM
  7. Automate Goal Seek?
    By John Richards in forum Excel General
    Replies: 2
    Last Post: 04-23-2005, 10:06 AM

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