+ Reply to Thread
Results 1 to 3 of 3

Integrating Solver add-in, using VBA code

  1. #1
    Registered User
    Join Date
    08-16-2009
    Location
    Bangalore, INDIA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Post Integrating Solver add-in, using VBA code

    Hi,

    I wanted to integrate the built-in solver add-in to an excel sheet and execute it using VBA code to do optimization.

    I am able to integrate the solver add-in using the following code.

    Please Login or Register  to view this content.
    Please let me know how to set the values for the cell values dynamically?

    Regards
    Salil Cheeran

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Integrating Solver add-in, using VBA code

    You could start by recording a macro that uses Solver to do whatever you're doing.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    03-21-2011
    Location
    Cape Town South Africa
    MS-Off Ver
    Excel 2007
    Posts
    1

    Question Re: Integrating Solver add-in, using VBA code

    On 16 Aug 2009 salilcheeran wrote this code example (which is fantastic):
    If AddIns("Solver Add-in").Installed = False Then
    AddIns("Solver Add-in").Installed = True
    End If

    My problem is - my users will not know how to activate the Solver add in (if they know what an add in is - for them the code must work (the code being an automated through VBA Solver solution finder)).
    My question is, is there similar code to the above for the second step to using an add in? The manual steps are: VBE / Tools menu / References followed by tick against Solver checkbox.
    Thanks and appreciated
    (Excel 2007)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1