Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Supressing Excel Solver Windows 1

Status
Not open for further replies.

jfeegler

Programmer
Oct 11, 2002
7
US
I figured out how to automate Solver using excel vba, does anyone know how I can suppress Solver's pop-up windows? Thanks for your help.
 
jfeegler,

have you tried setting:
Application.DisplayAlerts = false
before your solver code and then setting them back to true after?

regards,
longhair
 
Hi,

Try
Code:
with application
  .displayalerts=false
  .screenupdating=false
end with
' you code here
...
with application
  .displayalerts=true
  .screenupdating=true
end with
:)

Skip,
Skip@TheOfficeExperts.com
 
It's easier than all that. Just use

solversolve true

to suppress the results window popup.


Rob
[flowerface]
 
Hi Guys,

Sorry to be a Buttinski, but I haven't figured out how to automate solver! [sad]

Would anyone please give me a quick pointer as to how to automate this process:

Minimise $A$12 by changing $B$1, $B$2 and $B$3, making sure that $B$1 is >0 and $B$2 >= $A$20

Many thanks in advance,



Chris

Varium et mutabile semper Excel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top