Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Loz Loz is offline
external usenet poster
 
Posts: 3
Default stop VBA in solver when maximum iterations reached

hi
I would like to add to the VBA code in a way that stops running Solver
after the max iterations has been reached. I would like to do so in a way
that there is no dialogue box for the user.

i.e. I want NO user interaction whatsoever as the solver code is part of a
loop and I want it to move on to the next iteration even if the maximum
iteration was reached.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 464
Default stop VBA in solver when maximum iterations reached

If lCount=50 Then Exit Sub.



--
Regards
Dave Hawley
www.ozgrid.com
"LOZ" wrote in message
...
hi
I would like to add to the VBA code in a way that stops running Solver
after the max iterations has been reached. I would like to do so in a way
that there is no dialogue box for the user.

i.e. I want NO user interaction whatsoever as the solver code is part of a
loop and I want it to move on to the next iteration even if the maximum
iteration was reached.


Reply
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
Sover -- how do you stop "The maximum time limit was reached..." b robs3131 Excel Programming 0 September 9th 08 12:29 AM
DATABASE REACHED MAXIMUM SIZE Sajjan Excel Worksheet Functions 2 July 16th 08 06:57 PM
Solver Iterations-how to change number Rick Hicks Excel Programming 3 September 27th 07 10:38 PM
Anyone know how to display iterations from solver? Melic Excel Worksheet Functions 1 October 23rd 06 01:00 PM
Catching max iterations Stop of Solver in VBA wgaskill Excel Programming 9 November 24th 05 12:37 AM


All times are GMT +1. The time now is 12:23 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"