Thanks for the help CMP. Your code turns on Solver in the Workbook (but you need to enter "Solver Add-in" instead of "solver.xla"). I was Ok with this - perhaps I didn't explain my problem fully.
When you install the Add-in, it loads a Solver Reference in the VBA editor (Tools/References) for...
Hi
I am writing some code to automate Solver solutions on a spreadsheet. In order to make it work, I have to add the Solver Add-In form Excel and enable the Solver Reference in the VBA editor (Tools/References).
My question is: Is it possible to automate the updating of the reference in VBA...
Thanks guys.
You're both champions!
I should have asked a couple of days ago (it would have saved me quite some time!).
Steve - tried yours but it still wouldn't work. Thanks anyhow.
PH - Works a treat!
Your assistance is much appreciated.
Bob
Hi
(Apologies if I have posted this in the wrong area -I'm new to Tek-Tips and VBA)
I am trying to reference a function variable within a case statement in the function as follows (part code only to give you an idea):
Function CalcTrueScore(intRating1 as integer, intrating2 as...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.