Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

solver

ResolvedVersion 2003

Morgan has attended:
No courses

Solver

Hi
Does anyone know any code for using the solver add-in? I currently have some based on a macro I recorded, but it runs very slowly.
Thanks!

RE: Solver

Hi Morgan

Thank you for your question

First you need to switch on the solver reference. Click on tools, references and select solver.

There are a number of functions available

SolverOptions allows you to specify the basic parameters of the problem, e.g whether you are maximising or minimising

SolverAdd adds a constraint

SolverSolve seeks a solution

SolverChange changes an existing constraint

I suggest typing solver into the VB help function. There are detailed descriptions of the function arguments together with examples of their use

Regards

Stephen


RE: Solver

Thanks very much for the reply

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

New Normal Worksheet

Do you want all your worksheets to confirm to a certain look? Then change the Defaults!!!
1. Press Shift+F11 to create a new worksheet
2. Press Ctrl+A to select (higlight) all cells, Press Ctrl+1, make any formatting changes then click OK.
3. Press F12 (Function 12 key) click in the Save As Type, drop down, then select Template (*.xlt)
4. Click in the Save in drop-down, then find the folder; c:_program files_microsoft office_office_start. (For the underscores shown use backslash)
Name your templete sheet.xlt, then press Enter.
Sheet.xlt is used when you insert a new worksheet (Shift+F11)

Note: These changes are permanent changes on your PC.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.