0% found this document useful (0 votes)
30 views

Solver Add in Function

This document provides instructions for enabling the Solver add-in in Excel and establishing a reference to it in the Visual Basic Editor in order to use Solver functions from VBA. It also lists the Solver functions that can be used to control the Solver add-in from VBA code.

Uploaded by

UCHENDU
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Solver Add in Function

This document provides instructions for enabling the Solver add-in in Excel and establishing a reference to it in the Visual Basic Editor in order to use Solver functions from VBA. It also lists the Solver functions that can be used to control the Solver add-in from VBA code.

Uploaded by

UCHENDU
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Before you can use the Solver VBA functions from VBA,

you must enable the Solver add-in in the Excel Options


dialog box.
1. Click the File tab, and then click Options below the
Excel tab.
2. In the Add-Ins dialog box, select Solver Add-in, and
then click OK.
3. In the Excel Options dialog box, click Add-Ins.
4. In the Manage drop-down box, select Excel Add-ins,
and then click Go.
After you have enabled the Solver add-in, Excel will autoinstall the Add-in if it is not already installed, and the
Solver command will be added to the Analysis group on
the Data tab in the ribbon.
Before you can use the Solver VBA functions in the Visual
Basic Editor, you must establish a reference to the Solver
add-in. In the Visual Basic Editor, with a module active,
click References on the Tools menu, and then select Solver
under Available References. If Solver does not appear
under Available References, click Browse, and then open
Solver.xlam in the \Program Files\Microsoft
Office\Office14\Library\SOLVER subfolder.
The following functions can be used to control the Solver
add-in from VBA. Each function corresponds to an action
that you can perform interactively, through the Solver
Parameters, Solver Options, and Solver Results dialog
boxes of the Solver add-in.
SolverAdd Function
SolverChange Function
SolverDelete Function
SolverFinish Function

SolverFinishDialog Function
SolverGet Function
SolverLoad Function
SolverOk Function
SolverOkDialog Function
SolverOptions Function
SolverReset Function
SolverSave Function
SolverSolve Function

You might also like