Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default SolverSolve userFinish:=True still displays the dialogue

Hi
This is the first time I've ever queried a discussion group and I am
VERY new to any kind of programming (not since the days of Fortran), so
pardon if my terminology is inaccurate.
I have created a VBA for applications macro which (successfully) runs
Solver several times on a worksheet.
Everywhere I've looked says inserting

SolverSolve userFinish:=True

means the dialogue at the end of the run won't be displayed, but in my
case it still does!! Any ideas why?

Also, if you don't display this dialogue how will you know if the Solve
was successful?

Any hints appreciated
Alison
ps: the code is:

Sub Macro2()
'
' Macro2 Macro
' Macro recorded 29/09/2006 by ajoubert
'
SolverOk SetCell:="$E$37", MaxMinVal:=2, ValueOf:="0", ByChange:= _
"$D$20:$D$24"
SolverSolve
SolverSolve userFinish:=True
SolverOk SetCell:="$H$37", MaxMinVal:=2, ValueOf:="0", ByChange:= _
"$G$20:$G$24"
SolverSolve
SolverSolve userFinish:=True

SolverOk SetCell:="$K$37", MaxMinVal:=2, ValueOf:="0", ByChange:= _
"$J$20:$J$24"
SolverSolve
SolverSolve userFinish:=True

etc
etc

End Sub




*** Sent via Developersdex http://www.developersdex.com ***
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
SolverSolve return values Steve M Excel Programming 1 August 24th 06 02:39 AM
SOLVER solversolve showref woof Excel Programming 3 June 26th 06 05:04 PM
Solver: 2nd function of SolverSolve zaina Excel Programming 3 June 18th 05 08:00 AM
How does Solversolve Control Macro Dacvid Cardner Excel Programming 1 June 17th 04 07:41 PM
True Or False, no matter what... it still displays the false statement rocky640[_2_] Excel Programming 2 May 13th 04 04:57 PM


All times are GMT +1. The time now is 06:05 PM.

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

About Us

"It's about Microsoft Excel"