LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default solver constrains in macro

When incorporating Solver (xl2k) in macro applied
sequentially to several worksheets with links to the same
cell positions, all works fine provided it comprises no
constrains. No problem occurs either if the constrains are
being added in the first run by means of SolverAdd
function. As soon as, however, the Solver call is
repeated, constrains are SolverAdded once more, and
evermore reference is lost to the right hand member of a
relation. Solver calculation therefore crashes. How to
arrange then the formulation of constrains in Solver macro
function so that they could work forever? To refresh them
repeatedly by SolverDelete and SolverAdd?

Many thanks
PB

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
XL solver macro brdotter Excel Worksheet Functions 0 March 19th 09 12:12 PM
Solver Macro Michael Excel Programming 2 May 21st 04 03:13 PM
help with solver or macro Dan[_24_] Excel Programming 1 September 23rd 03 04:31 PM
Solver Macro Dick Stumbo Excel Programming 0 September 18th 03 01:55 AM


All times are GMT +1. The time now is 12:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"