+ Reply to Thread
Results 1 to 2 of 2

solver macro + simulation code + not updating solver values

  1. #1
    Registered User
    Join Date
    MS-Off Ver

    solver macro + simulation code + not updating solver values

    Dear All,
    We are writing a macro that generates some parameter distributions in one spreadsheet (Parameters), pastes them in another sheet called (Derivatives), runs the solver and then should take the optimal solution onto a third sheet called PSA.
    The problem is that the macro runs but keeps copying the same values onto PSA. Moreover, we don't see that the optimal value changes when the macro is running.
    Do you know what this is happening and how we could fix it? The macro below runs, but just doesn't update the optimal values and gives us a column with the same value in the final spreadsheet. We looked over all the threads and we can't pin down what to do with this.

    Many thanks.

    The code is:
    Please Login or Register  to view this content.
    Last edited by Cutter; 07-24-2012 at 11:36 AM. Reason: Added code tags

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    MS-Off Ver
    Excel 2010

    Re: solver macro + simulation code + not updating solver values

    @ sabinemaria

    Welcome to the forum.

    Please notice that code tags have been added to your post(s). The forum rules (Rule #3) require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. Click the Forum Rules button @ top of page to see instructions in rule #3.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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


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