solver
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Solver

Solver

resolvedResolved · Low Priority · Version 2003

replyReply Wed 19 Nov 2008, 16:33Delegate Morgan said...

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!

For upcoming training course dates see: Pricing & availability

replyReply Fri 27 Feb 2009, 09:54Trainer Stephen said...

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


replyReply Mon 2 Mar 2009, 08:31Delegate Morgan said...

RE: Solver

Thanks very much for the reply

 

Please browse our web site to find out more about
excel-training-course and other Microsoft training courses.

Excel tip:

Generate randon numbers

Some types of analysis require you to use randomly generated numbers. You can also use randomly generated numbers to quickly populate an Excel spreadsheet. There's an easy function you can use to do this automatically. Here are a few of the ways you can use it:

Type =RAND() in a cell to generate a number between 0 and 1.
Type =RAND()*100 to generate a number between 1 and 100.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard