Forum Discussion

muhammet atasever's avatar
muhammet atasever
Copper Contributor
Jul 31, 2018
Solved

Cannot run the macro 'SOLVER.XLAM!GetSolverLabel'.

Hi,

 

I need to use the solver add-in for my studies. However, Every time I try to use it I get an error: "Cannot run the macro 'SOLVER.XLAM!GetSolverLabel'. The macro may not be avaliable in this workbook or all macros may be disabled."

 

Even if I uninstalled Office products on my PC, the error was not solved.

 

I will be glad if you solve this problem.

 

Thanks,

  • I've recently encountered a similar issue with Solver. Uninstalling and installing office 365 did not work. The issue I think was caused by 32bit vs 64bit incompatibility yet when I checked office, windows, and my laptop they were all 64bit. Then once, when I was uninstalling MS office I noticed that there was another office app that came with my laptop called "WPS Office" which is freeware shipped with Asus. Since I was not using it, I decided to uninstall it. And voila that made solver work again.

21 Replies

  • Rokaya65's avatar
    Rokaya65
    Copper Contributor

    wps is not installed in my pc but still showing this error. can anyone help me how to solve this??

  • DavidDodd888's avatar
    DavidDodd888
    Brass Contributor

    I've recently encountered a similar issue with Solver. Uninstalling and installing office 365 did not work. The issue I think was caused by 32bit vs 64bit incompatibility yet when I checked office, windows, and my laptop they were all 64bit. Then once, when I was uninstalling MS office I noticed that there was another office app that came with my laptop called "WPS Office" which is freeware shipped with Asus. Since I was not using it, I decided to uninstall it. And voila that made solver work again.

    • riccardobonfanti's avatar
      riccardobonfanti
      Copper Contributor

      THANK YOU SO MUCH! it was indeed that bulls**t WPS Office, wasted 3+ hours of my life on this issue

    • Ember_Spirit's avatar
      Ember_Spirit
      Copper Contributor
      uninstalling WPS Office did solve the SOLVER problem. 64bit of Office version is not the problem.
      国内的朋友们 如果要用规划求解请卸载WPS吧 确实干扰了
  • Man Fai Chan's avatar
    Man Fai Chan
    Iron Contributor

    I am not used to use "Solver.xlam" but it is related to add-ins. You may go to Option --> Add-Ins to see if it is enabled or not. 

    • Artur Molodov's avatar
      Artur Molodov
      Copper Contributor
      Thank you for trying to solve it, but it the error actually appear after add-in is enabled (through options like you say) and after you try to use it (press on solvers button) it shows an error "Cannot run the macro 'SOLVER.XLAM!GetSolverLabel'. The macro may not be available in this workbook or all macros may be disabled."
      • Man Fai Chan's avatar
        Man Fai Chan
        Iron Contributor

        Hope that the following link is helpful to you.

         

        https://social.technet.microsoft.com/Forums/en-US/0a45c5a5-541f-4447-8053-eb7b4d442cfa/excel-2016-solver-error-message-windows-10?forum=excel

         

         

  • Artur Molodov's avatar
    Artur Molodov
    Copper Contributor
    Has anyone helped to solve this issue?
    My exams are approaching and I still haven't solved this issue, have tried to re-install 4 times already, nothing is changing.

Resources