Reference to solver problem

S

steer.tim

I have developed a spreaadsheet that uses VBA to call solver. I plan to
give the workbook to people, some of whom do not even know solver
exists and so have not installed it. Does anyone know of code that
checks to see if solver is installed and if not installs it and fixes
the possibly broken reference to it in VBA?

Thanks for any light people may be able to shed on the subject

Tim Steer
 
B

Bill Martin

I have developed a spreaadsheet that uses VBA to call solver. I plan to
give the workbook to people, some of whom do not even know solver
exists and so have not installed it. Does anyone know of code that
checks to see if solver is installed and if not installs it and fixes
the possibly broken reference to it in VBA?

Thanks for any light people may be able to shed on the subject

Tim Steer
---------------

It's been a long time since I installed Solver, but as I recall it involved
putting the original distribution disk into the computer. I don't see how
software can do that on its own.

You suspect you can check to see if it's installed by using an ON ERROR
statement and then trying to invoke solver. And if you find it's not installed
you can provide a text prompt to the user telling them how to install Solver. I
don't see how you can install it from software though without violating
somebody's copyright.

Maybe someone here will have a better answer for you.

Bill
 
B

Bill Martin

I have developed a spreaadsheet that uses VBA to call solver. I plan to
give the workbook to people, some of whom do not even know solver
exists and so have not installed it. Does anyone know of code that
checks to see if solver is installed and if not installs it and fixes
the possibly broken reference to it in VBA?

Thanks for any light people may be able to shed on the subject

Tim Steer
---------------

It's been a long time since I installed Solver, but as I recall it involved
putting the original distribution disk in the computer. I don't see how
software can do that on its own.

I suspect you can check to see if it's installed by using an ON ERROR RESUME
NEXT statement and then trying to invoke solver. And if you find it's not
installed you can provide a text prompt to the user telling them how to install
Solver. I don't see how you can install it from your software though without
violating somebody's copyright.

Maybe someone here will have a better answer for you.

Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top