Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub SolverInstall()
'// Dana DeLouis Dim wb As Workbook On Error Resume Next ' Set a Reference to the workbook that will hold Solver Set wb = ActiveWorkbook With wb.VBProject.References .Remove .Item("SOLVER") End With With AddIns("Solver Add-In") .Installed = False .Installed = True wb.VBProject.References.AddFromFile .FullName End With End Sub -- Regards, Tom Ogilvy "davidm" wrote: For the umpteenth time, can I please push my request for the syntax to *programmatically *set SOLVER reference. If it can't be done, I'll be content to settle for that as an answer. Thanks David -- davidm ------------------------------------------------------------------------ davidm's Profile: http://www.excelforum.com/member.php...o&userid=20645 View this thread: http://www.excelforum.com/showthread...hreadid=537657 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Setting HotKey Programmatically | Excel Programming | |||
WhatsThisHelp in VBA - setting the help file path programmatically | Excel Programming | |||
Setting Printer Options Programmatically | Excel Programming | |||
Programmatically Add Reference` | Excel Programming | |||
Setting a Solver constraint using vba? | Excel Programming |