Share via

Analysis/Solver install problem

Anonymous
2011-02-22T09:47:03+00:00

Trying to use the Analysis and Solver add-ins. By selecting File/Options/Add-ins/Manage../Go then ticking "analysis", the Analysis add-in moves from the 'inactive' to the 'active' list but doesn't then appear in the Data tab. If I tick "solver" I get an error box telling me that it cannot access the solver.xlam file (and the Solver add-in stays in the inactive list). The xlam file does exist in the right location. Trying to add other add-ins gives the same result. Nothing added-in!

I saw one suggestion of an add-in installer bug. My %windows% folder is not "C:\WINDOWS" but C:\WINDOW2. However a registry search for the wrong CLSIDs didn't find anything.

Peter

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2012-03-28T12:05:55+00:00

I HAD this problem. 

The problem was not installing 'Visual Basic for Applications' before, when I installed Office 2007.

VBA is in Office Shared Features group.

Just insert your Office installation disk, select 'Add or Remove Features' and then VBA.

Should be Office Shared Features > Visual Basic for Applications (MAKE SURE THIS IS SET TO "RUN FROM MY COMPUTER"

After that Solver and Data analysis can be installed in Excel.

Good luck.

Was this answer helpful?

7 people found this answer helpful.
0 comments No comments

18 additional answers

Sort by: Most helpful
  1. Anonymous
    2012-03-31T04:19:20+00:00

    I HAD this problem. 

    The problem was not installing 'Visual Basic for Applications' before, when I installed Office 2007.

    VBA is in Office Shared Features group.

    Just insert your Office installation disk, select 'Add or Remove Features' and then VBA.

    Should be Office Shared Features > Visual Basic for Applications (MAKE SURE THIS IS SET TO "RUN FROM MY COMPUTER"

    After that Solver and Data analysis can be installed in Excel.

    Good luck.

    Thanks! It was of a great help to me as well :)

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-05-30T17:54:11+00:00

    It worked for me. Thank for your help!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2011-05-14T04:38:29+00:00

    This didn't work for me, nor did your first suggestion.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2011-05-14T04:37:09+00:00

    I was getting the exact same error messages that you got.  I wish I could give you some additional ideas on how to get it installed.

    You might try installing the MS Solver Foundation Express edition.  or if you are on 32-bit Windows, Open Office.  MS Solver Foundation is much more powerful (and complex) than solver, but has a different VB interface.  Both of these alternatives allow much larger or unlimited problem sizes.  There is also a linear solver for Excel called Open Solver that is based upon the COIN-OR project, but I had some issues getting it installed.  The CBC underlying solver upon which it is built is very fast, but it only does linear problems.

    Open Office has a linear solver built-in with add-ins for non-linear problems.  I've had problems getting the Open Office non-linear solver to work on 64-bit Windows, but have had no problems on 64-bit Ubuntu.  The problems on Windows stem from issues with 32 vs 64-bit JRE that I haven't been able to resolve.

    Was this answer helpful?

    0 comments No comments