Martin Quinn
New Member
- Joined
- Jul 1, 2003
- Messages
- 16
I have a set of XL2003 files that can be used to orthogonalize functions with respect to one another. These transformations are achieved using SOLVER. I now have Xl2003 and Xl2007 running on a PC and have discovered that SOLVER is not loaded automatically during file opening, because of path errors, with the result that under the References tab in the VBE I find an extra radio button 'Missing: Solver.xla' enabled. Manually this problem is overcome by opening SOLVER under the Data tab of the Ribbon and then, under the Reference tab of the VBE window, selecting the SOLVER button while deselecting 'Missing: Solver.xls'. I believe that the instruction:
ThisWorkbook.VBProject.References.AddFromFile Application.LibraryPath & "\solver\solver.xla"
allows for the SOLVER reference to be made programmatically [http://www.kelley.iu.edu/albrightbooks/Solver.htm]
but this can lead to error with SOLVER already installed and does not unselect the
'Missing: Solver.xla'
radio button under References. Is a full solution possible as a Workbook_Open instruction, which appears to be necessary to remove the problem?
ThisWorkbook.VBProject.References.AddFromFile Application.LibraryPath & "\solver\solver.xla"
allows for the SOLVER reference to be made programmatically [http://www.kelley.iu.edu/albrightbooks/Solver.htm]
but this can lead to error with SOLVER already installed and does not unselect the
'Missing: Solver.xla'
radio button under References. Is a full solution possible as a Workbook_Open instruction, which appears to be necessary to remove the problem?