-
Notifications
You must be signed in to change notification settings - Fork 1
Sample Test Code
Michael Waite edited this page Mar 16, 2026
·
4 revisions
A set of sample test code modules can be found in the test folder of the repo. These examples automate solving each of the optimization problems in SOLVSAMP.XLS, which is distributed with MS Office Excel and can be found programmatically in:
Application.LibraryPath & "\..\SAMPLES\SOLVSAMP.XLS"...which on many systems resolves to:
C:\Program Files\Microsoft Office\root\Office16\SAMPLES\SOLVSAMP.XLSImport these test modules into the sample Workbook above, set a reference to the SolverWrapper DLL and then save SOLVSAMP.XLS to SOLVSAMP.XLSM.
The test modules will solve each problem without modification.
Getting Started
How-to Topics
- Solver Primer
- A Walkthrough Example
- Using the Enhanced Callback
- Using SolverWrapper Events
- ActiveX DLL FAQ
- Using Without Registration
Object Model Overview