Forum Discussion

Nanopoke23's avatar
Nanopoke23
Copper Contributor
Nov 28, 2020

EUROTOOL.XLAM!OnRibbonLoad SOLVER.XLAM!GetSolverLabel and other excel macros errors

Hello!

I am creating this topic because just a few times later I myself solved the problem with macros for Excel. The problem was that every time Excel started, worked and closed, it gave errors related to the inability to access the Solver and Eurotool macros. None of the solutions from the Internet helped, including a complete reinstallation of the Office suite.

Text of the error:

"Cannot run the macro EUROTOOL.XLAM!OnRibbonLoad.  The macro may not be available in this workbook or all macros may be disabled."

The problem is that Excel, by default, looks for macro files not where they really are.

So, if you face the same problem, you need to do the following:

  • Go to Excel File -> Options -> Add-ins
  • In the "Manage" column, select "Excel Add-ins" and click the Go button
  • In the selected window, select the problematic macro and click the Browse button
  • In the window that appears, copy the path to the folder where Excel is looking for the macro (In my case, it is C:\Users\Username\AppData\Roaming\Microsoft\AddIns)
  • Copy the addon files from the C:\Program Files\Microsoft Office\root\Office16\Library folder to the folder we found earlier
  • Restart Excel

_________________________

Всем привет!

Создаю эту тему, так как только что сам спустя год решил проблему с макросами для Excel. Проблема была в том, что каждый раз при запуске, работе и закрытии Excel он выдавал ошибки, связанные с невозможностью получения доступа к макросам Solver и Eurotool. Ни одно решение из интернета не помогло, в том числе и полная переустановка пакета Office.

Проблема в том, что Excel по умолчанию ищет файлы макросов не там, где они лежат на самом деле.

Итак, если вы столкнулись с такой же проблемой, вам необходимо сделать следующее:

  • Зайти в настройки Excel во вкладку надстройки
  • В графе "Управление" выбрать "Надстройки Excel" и нажать кнопку Перейти
  • В выбранном окне выбрать проблемный макрос и нажать кнопку Обзор
  • В появившемся окне скопировать путь к папке, в которой Excel ищет макрос (В моем случае это C:\Users\Username\AppData\Roaming\Microsoft\AddIns)
  • Скопировать файлы аддонов из папки C:\Program Files\Microsoft Office\root\Office16\Library в папку, которую мы нашли ранее
  • Перезапустить Excel
No RepliesBe the first to reply

Resources