Ошибка compile error in hidden module excel

В этой инструкции описано, как устранить проблему, когда при запуске надстройки «Парсер сайтов» появляется сообщение об ошибке компиляции такого вида:

Compile error in hidden module: mod_AACTIONS.
This error commonly occurs when code is incompatible with the version, platform, or architecture of this application. Click «Help» for information on how to correct this error.

Причины проблемы

Проблема чаще всего проявляется на Office 2013, и вызвана тем, что некоторые скриптовые элементы управления в Office 2013 считаются «устаревшими» по соображениям безопасности.
В надстройке «Парсер сайтов» проблема вызвана использованием компонента Web Browser на формах VBA.

Подробно о причинах проблемы (Kill Bit) и способах решения написано в статьях на сайте Microsoft: ссылка1, ссылка2.

Как проверить, действительно ли в вашем случае проблема именно эта:

  1. В меню Excel нажимаем Файл — Параметры — Настройка ленты, и включаем галочку для отображения вкладки «Разработчик»
  2. На ленте Excel на вкладке «Разработчик» нажимаем Вставить — Элементы ActiveX — Другие элементы управления (см. скриншот)
  3. В появившемся диалоговом окне ищем пункт «Microsoft Web Browser», и нажимаем ОК (см. скриншот)
  4. Рисуем мышкой прямоугольник на листе Excel.
    Если объект появился на листе (см. скриншот), то в вашем случае присутствует какая-то другая проблема (описанное в инструкции не поможет).
    Если же выскочило сообщение об ошибке «Вставка обьекта неосуществима» / «Cannot insert object», то в этой инструкции описан как раз ваш случай.

Как решить проблему с ошибкой компиляции:

  • запускаете (предварительно надо извлечь файл из архива) прикреплённый к статье файл VBA_WebBrowser_FixCompilationError.reg,
    на вопрос «Вы действительно хотите добавить информацию из этого файла в реестр» отвечаете «ДА»
  • перезапускаете Excel (если не поможет, то перезагружаете компьютер)

Содержимое файла VBA_WebBrowser_FixCompilationError.reg:

{8856F961-340A-11D0-A96B-00C04FD705A2} — идентификатор для компонента Web Browser Control

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice 15.0ClickToRunREGISTRYMACHINESoftwareWow6432Node MicrosoftOffice15.0CommonCOM Compatibility {8856F961-340A-11D0-A96B-00C04FD705A2}]
«Compatibility Flags»=dword:00000000

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice 16.0ClickToRunREGISTRYMACHINESoftware Wow6432NodeMicrosoftOffice16.0 CommonCOM Compatibility{8856F961-340A-11D0-A96B-00C04FD705A2}]
«Compatibility Flags»=dword:00000000

[HKEY_LOCAL_MACHINESOFTWAREWow6432Node MicrosoftOffice15.0 CommonCOM Compatibility {8856F961-340A-11D0-A96B-00C04FD705A2}]
«Compatibility Flags»=dword:00000000

[HKEY_LOCAL_MACHINESOFTWAREWow6432Node MicrosoftOffice16.0 CommonCOM Compatibility {8856F961-340A-11D0-A96B-00C04FD705A2}]
«Compatibility Flags»=dword:00000000

[HKEY_LOCAL_MACHINESOFTWAREMicrosoft OfficeCommonCOM Compatibility {00024512-0000-0000-C000-000000000046}]
«Compatibility Flags»=dword:00000000

[HKEY_LOCAL_MACHINESoftwareWow6432Node MicrosoftOfficeCommonCOM Compatibility {00024512-0000-0000-C000-000000000046}]
«Compatibility Flags»=dword:00000000

When talking about MS Office error messages, it’s always a long story. Users would report hundreds of different error messages they received when they open Word, Excel, or PowerPoint. For some common errors like Runtime Error 1004 or add-in template is not valid, we have already introduced how can you fix them. This time, we will talk about another error message — Compile error in hidden module.

Users often received this error message when they start Excel. In rare times, when users start MS Word, this error would also pop up. Usually, users would see one of the following error messages:

  • Compile error in hidden module: AutoExec
  • Compile error in hidden module: AutoExecNew
  • Compile error in hidden module: DistMon

Compile error in hidden module

The different suffixes indicate that you have different culprits to blame, and that’s why there is more than one solution for you to solve the problem. Before checking the solutions, you should know the reasons why you see these error messages.

Why Do I See the Error Message of Compile Error in Hidden Module?

Now Office 2016 is upgraded from a 32-bit version to a 64-bit version. The Compile error in hidden module error message usually appears when there are dome 32-bit add-ins versions of the office in your computer, and they are incompatible with the 64-bit version.

Two common conditions that would cause this error are as follow:

1. When MS Excel startup folder contains both the following two template files on Adobe Acrobat PDF Maker add-in:

  • Pdfmaker.dot
  • Pdfmaker.xla

2. Your computer has installed the Norton Anti-virus software.

After knowing what causes this error message, now it’s time to apply the solutions. Here we have listed four solutions, you can try them one by one until you solve the problem.

Method 1. Re-register OCX Files with CMD

The first solution you can try is to re-register some basic Excel function files. In this method, we need to apply Windows Command Prompt.

Step 1. Press Windows + R keys at the same time. Type cmd in the run box.

Open cmd in Run box

Step 2. Type the following command and press Enter.

For 32-bit:

regsvr32 -u c:windowssystem32mscomctl.ocx

regsvr32 c:windowssystem32mscomctl.ocx

For 64-bit:

regsvr32 -u c:windowssystem64mscomctl.ocx

regsvr32 c:windowssystem64mscomctl.ocx

Step 3. Now run MS Excel again to check if the error message still exists.

Method 2. Delete .exd Files

The exd file is a control information cache file of Microsoft Office. These files are created when a user inserts an ActiveX control into a document using the Control Toolbox in an MS Office program. You can delete this cache file to see if it can fix the Compile error in the hidden module error.

Step 1. Press Windows + R keys at the same time. Type %appdata% in the run box.

Step 2. It will open your AppData folder. Go to Roaming > Microsoft > Forms.

Step 3. Find the .exd files, select comctllib.exd and mscomctllib.exd, and delete these two files.

Step 4. Restart your Excel and check if the problem is solved.

Method 3. Move PDF Maker Files

As we have mentioned above, one of the reasons you will see this error message is because there are two template files on Adobe Acrobat PDF Maker add-in. So in this method, you can move the PDF Maker files to another place to fix your problem. Here are the detailed steps.

Step 1. Open Windows File Explorer, search pdfmaker.* on your computer.

Step 2. Choose the pdfmaker.dot and pdfmaker.xla files, right-click on both files, and select cut.

Step 3. Paste these two files to your Desktop.

Now you can restart the MS Excel to see if the problem is solved.

Method 4. Update to the Latest Adobe Acrobat

If the above methods can’t help you solve the Compile error in hidden module problem, the last resort is to update the Adobe Acrobat to the latest version. It’s because this problem is associated with the Adobe Acrobat that is installed on your computer.

Go to the Adobe official website, find the latest version of Acrobat, download and install it on your computer.

related articles

How to Fix Word Runtime Error 91?

A runtime error is a common program error that usually occurs in Microsoft Office software. This article will you what is the reason for this error, and how to fix it.

runtime error 91

Bonus Solution: Repair Damaged or Corrupted MS Excel Efficiently

With the above methods, you might have solved the Excel Compile error in the hidden module issue. Then we’d like to share a good bonus tool — EaseUS Fixo Document Repair with you. 

This is an advanced 4-in-1 specialized fix tool that enables you to repair corrupted  PDF documents and Office files in multiple formats. If your documents got damaged, EaseUS file repair software will scan and repair them efficiently. 

If you want to try on this file repair software, you can download it and follow the guide to see how to use this tool. In the following guide, we have introduced how to repair Excel documents.

Step 1. Download and launch Fixo on your PC or laptop. Choose «File Repair» to repair corrupted Office documents, including Word, Excel, PDF, and others. Click «Add Files» to select corrupted documents.

add files to repair documents with Fixo

Step 2. To repair multiple files at once, click the «Repair All» button. If you want to repair a single document, move your pointer to the target file and choose «Repair». You can also preview the documents by clicking the eye icon.

select documents to repair

Step 3. Click «Save» to save a selected document. Select «Save All» to save all the repaired files. Choose «View Repaired» to locate the repaired folder.

save repaired documents in Fixo

The Bottom Line

That’s all about Compile error in hidden module error message. Hope you can fix your problem after reading this article. Once again, we’d like to introduce EaseUS file repair tool. No matter whether you need to repair Word, Excel, PPT, or PDF documents, applying this tool is a wise choice.

You might receive a “Compile Error in Hidden Module” error message when you start your Excel.

Whether it is Excel or any other Microsoft Applications from time to time they are prone to errors. This Compile Error in Hidden module occurs in both MS Excel and MS Word but in this blog, you will get to know how to repair Compile Error in Hidden module in Excel.

When you start MS Excel the particular error message that displays on the screen is:

Compile error in hidden module: AutoExec

Compile error in hidden module: AutoExecNew

Compile error in hidden module: DistMon

If you are using an older version of Windows like Windows 95/98 then you might receive an error message that says:

Excel has performed an error in module excel.exe and will be closed.

For Windows 2000 and above version the error appears like:

Excel has encountered a problem and needs to close. We are sorry for the inconvenience.

After the error message is displayed, an error report will be presented which provide the additional information of that error, a link will be shown something like:

– 9.0.0.5302 – Vbe6.dll – 6.0.89.67 – 0000d799

Just click on the link to view full details of that error and depending on the application that has been crashed you might see the location to excel.exe which will guide you to the culprit of this error message.

To repair Compile Error in Hidden module go through the solutions one by one but before that get to know why does this Compile Error in Hidden module in Excel appears.

To recover Excel corrupt module, we recommend this tool:

This software will prevent Excel workbook data such as BI data, financial reports & other analytical information from corruption and data loss. With this software you can rebuild corrupt Excel files and restore every single visual representation & dataset to its original, intact state in 3 easy steps:

  1. Download Excel File Repair Tool rated Excellent by Softpedia, Softonic & CNET.
  2. Select the corrupt Excel file (XLS, XLSX) & click Repair to initiate the repair process.
  3. Preview the repaired files and click Save File to save the files at desired location.

Why Does Compile Error In Hidden Module In Excel Appear?

Microsoft is upgrading Office 2016 from 32-bit version to 64-bit version. This Compile Error in Hidden module error message usually appears when there are dome 32-bit add-ins versions of office which are incompatible with the newer version.

The most common reason behind this error is when some conditions come true:

1: MS Excel startup folder when contains both the template files on Adobe Acrobat PDF Maker add-in:

Pdfmaker.dot
Pdfmaker.xla

2: Software named Norton Anti-virus software has been installed.

Now, that you know the reason that causes Compile Error in Hidden module in Excel. Let’s begin with the solutions to fix this error.

1: Re-register OCX Files Using CMD

To fix compile error in hidden module you need to re-register some files basic to the functionality of Excel. Follow the steps:

  • Start your system with the Administrative rights
  • Press Windows + R key
  • Type “cmd” and click on OK

  • Depending on the version type the following commands and press enter:

For 32-bit version

regsvr32 -u c:windowssystem32mscomctl.ocx
regsvr32 c:windowssystem32mscomctl.ocx

For 64-bit version

regsvr32 -u c:windowssyswow64mscomctl.ocx
regsvr32 c:windowssyswow64mscomctl.ocx

Now, run MS Excel and see whether Microsoft visual basic compile error in hidden module is solved or not.

2: Try Deleting .exd Files

If the above-given solution did nor work then try deleting the .exd files from your folder, this might help you in fixing the compile error in the hidden module in excel. Follow the steps to delete files:

  • Press Windows + R key
  • Type %appdata% and click OK

  • This will open the Application Data folder, now select Microsoft

  • Open the Forms folder

  • Select comctllib.exd and mscomctllib.exd, Right-click on them and Delete

Deleting the .exd files will let you start Excel and the compile error in the hidden module issue will be resolved.

3: Move PDF Maker Files

If you are using Adobe Acrobat PDF Maker then to solve this issue you need to move the Pdfmaker.dot file and Pdfmaker.xla files to a different location. To do so follow the steps given below:

  • Click on the Windows icon and type pdfmaker. *

  • Click on all files and folders.

  • In the All or part of the file name type pdfmaker. * and search

  • Once the files are located, right-click on the pdfmaker.dot & pdfmaker.xla, and select the Cut.

  • Go to the Desktop and Paste it

After moving the PDF files by performing the above-stated steps compile error in the hidden module excel issue must be solved.

4: Update Latest Version of Adobe Acrobat

If the above method mentioned didn’t fix the Excel Compile error in the hidden module 2016 problem, then you can try updating the Adobe Acrobat version.

To update the add-in Adobe Acrobat, visit the official website of Adobe. You can find the newest updates in the search engine by searching the Adobe Acrobat Updates.

After updating the Adobe Acrobat restart your system and see if the compile error in hidden module Excel problem is solved or not.

5: Fix “Compile error in hidden module” Module 1

This error also occurs when you have recently upgraded or might have saved an Excel file that was created in different locations between versions.

To fix Excel compile error in hidden module  issue follows the simple steps mentioned below:

  • Select the file that is wrongly saved in Excel
  • Press AltF11 to go into the file Visual Basic Editor.
  • From the Tools menu, select the References
  • Scroll down to the Available References box and uncheck all that starts with MISSING:
  • Press AltQ when all the reference errors have been unchecked.

These steps will help you to fix the compile error in hidden module 1 issue.

Automatic Solution: MS Excel Repair Tool

If you are finding the above solutions difficult to perform and if you are unable to solve compile error in hidden module Excel issue, then you can try running MS Excel Repair Tool.

This is an advanced repairing tool that not only repairs damaged, corrupted, or inaccessible Excel files and all sorts of Excel errors but also recovers deleted, lost data from chart sheets, cell comments, formulas & others.

One can easily use this tool without the need for any professional and it supports all Excel versions.

* Free version of the product only previews recoverable data.

Steps to Utilize MS Excel Repair Tool:

Conclusion:

So, this was all about compile error in hidden module Excel. Well, I have tried my best to put together all the working solutions together to fix this issue.

Carefully follow the solutions given one by one. They are easy to use and had worked for many users.

Hope you liked this article and it worked for you in fixing the compile error in hidden module excel issue and making your Excel work again without any error.

Apart from this if you have any suggestions or queries then feel free to share them with us in the below comment section.

Priyanka is an entrepreneur & content marketing expert. She writes tech blogs and has expertise in MS Office, Excel, and other tech subjects. Her distinctive art of presenting tech information in the easy-to-understand language is very impressive. When not writing, she loves unplanned travels.

В этой инструкции описано, как устранить проблему, когда при запуске надстройки «Парсер сайтов» появляется сообщение об ошибке компиляции такого вида:

Compile error in hidden module: mod_AACTIONS.
This error commonly occurs when code is incompatible with the version, platform, or architecture of this application. Click «Help» for information on how to correct this error.

Причины проблемы

Проблема чаще всего проявляется на Office 2013, и вызвана тем, что некоторые скриптовые элементы управления в Office 2013 считаются «устаревшими» по соображениям безопасности.
В надстройке «Парсер сайтов» проблема вызвана использованием компонента Web Browser на формах VBA.

Подробно о причинах проблемы (Kill Bit) и способах решения написано в статьях на сайте Microsoft: ссылка1, ссылка2.

Как проверить, действительно ли в вашем случае проблема именно эта:

  1. В меню Excel нажимаем Файл — Параметры — Настройка ленты, и включаем галочку для отображения вкладки «Разработчик»
  2. На ленте Excel на вкладке «Разработчик» нажимаем Вставить — Элементы ActiveX — Другие элементы управления (см. скриншот)
  3. В появившемся диалоговом окне ищем пункт «Microsoft Web Browser», и нажимаем ОК (см. скриншот)
  4. Рисуем мышкой прямоугольник на листе Excel.
    Если объект появился на листе (см. скриншот), то в вашем случае присутствует какая-то другая проблема (описанное в инструкции не поможет).
    Если же выскочило сообщение об ошибке «Вставка обьекта неосуществима» / «Cannot insert object», то в этой инструкции описан как раз ваш случай.

Как решить проблему с ошибкой компиляции:

  • запускаете (предварительно надо извлечь файл из архива) прикреплённый к статье файл VBA_WebBrowser_FixCompilationError.reg,
    на вопрос «Вы действительно хотите добавить информацию из этого файла в реестр» отвечаете «ДА»
  • перезапускаете Excel (если не поможет, то перезагружаете компьютер)

Содержимое файла VBA_WebBrowser_FixCompilationError.reg:

{8856F961-340A-11D0-A96B-00C04FD705A2} — идентификатор для компонента Web Browser Control

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice 15.0ClickToRunREGISTRYMACHINESoftwareWow6432Node MicrosoftOffice15.0CommonCOM Compatibility {8856F961-340A-11D0-A96B-00C04FD705A2}]
«Compatibility Flags»=dword:00000000

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice 16.0ClickToRunREGISTRYMACHINESoftware Wow6432NodeMicrosoftOffice16.0 CommonCOM Compatibility{8856F961-340A-11D0-A96B-00C04FD705A2}]
«Compatibility Flags»=dword:00000000

[HKEY_LOCAL_MACHINESOFTWAREWow6432Node MicrosoftOffice15.0 CommonCOM Compatibility {8856F961-340A-11D0-A96B-00C04FD705A2}]
«Compatibility Flags»=dword:00000000

[HKEY_LOCAL_MACHINESOFTWAREWow6432Node MicrosoftOffice16.0 CommonCOM Compatibility {8856F961-340A-11D0-A96B-00C04FD705A2}]
«Compatibility Flags»=dword:00000000

[HKEY_LOCAL_MACHINESOFTWAREMicrosoft OfficeCommonCOM Compatibility {00024512-0000-0000-C000-000000000046}]
«Compatibility Flags»=dword:00000000

[HKEY_LOCAL_MACHINESoftwareWow6432Node MicrosoftOfficeCommonCOM Compatibility {00024512-0000-0000-C000-000000000046}]
«Compatibility Flags»=dword:00000000

Последнее обновление: 13 июля 2020 г.


  • Вы уже сталкивались с ошибкой компиляции в скрытом модуле при использовании Word или Excel?
  • Не теряйте из-за этого сон – вот несколько простых исправлений, которые гарантированно восстановят ваши файлы в кратчайшие сроки.
  • Если вы часто имеете дело с файлами Word, вы можете добавить в закладки наш Центр устранения неполадок MS Word на всякий случай.
  • Не стесняйтесь изучить наши руководства по Microsoft Office и получить все решения, которые могут вам когда-либо понадобиться, в одном месте.

Чтобы исправить различные проблемы с ПК, мы рекомендуем Restoro PC Repair Tool: это программное обеспечение исправит распространенные компьютерные ошибки, защитит вас от потери файлов, вредоносных программ, сбоев оборудования и оптимизирует ваш компьютер для максимальной производительности. Решите проблемы с ПК и удалите вирусы прямо сейчас, выполнив 3 простых шага:

  1. Загрузите Restoro PC Repair Tool, который поставляется с запатентованными технологиями (патент доступен здесь ).
  2. Нажмите Начать сканирование, чтобы найти проблемы Windows, которые могут вызывать проблемы с ПК.
  3. Нажмите «Восстановить все», чтобы исправить проблемы, влияющие на безопасность и производительность вашего компьютера.
  • В этом месяце Restoro скачали 668 476 читателей.

Ошибка компиляции в скрытом модуле – это сообщение об ошибке, которое может появиться у некоторых пользователей MS Word и Excel.

Сообщение об ошибке обычно появляется, когда пользователи Office открывают Word или Excel. Следовательно, ни одно приложение не запускается.

Появляется ли сообщение об ошибке компиляции в скрытом модуле при открытии Excel или Word? Если да, то вот несколько решений, которые могут это исправить.

Как исправить ошибки компиляции в Word / Excel?

  1. Обновите Adobe Acrobat
  2. Запустите Stellar Repair for Excel
  3. Переместить файлы Pdfmaker в другую папку
  4. Повторно зарегистрируйте файлы OCX с помощью командной строки
  5. Обновите антивирусное программное обеспечение Norton
  6. Удалить программное обеспечение Norton

1 Обновите Adobe Acrobat

ИСПРАВЛЕНИЕ: Ошибка компиляции в скрытом модуле в Word и Excel

Ошибка компиляции в скрытом модуле может быть связана с двумя файлами шаблонов Adobe Acrobat в папках MS Office. Таким образом, обновление Adobe Acrobat – одно из возможных решений проблемы.

Также крайне важно запускать программное обеспечение из надежного источника, поэтому мы настоятельно рекомендуем вам устанавливать Acrobat только с его официального сайта.

Acrobat – это мощный пакет для редактирования, тесно связанный с форматами файлов Microsoft Office, что делает его полностью цифровым.

Фактически, нет необходимости начинать заново, если вы столкнулись с ошибкой, вы можете быстро экспортировать PDF-файлы в другие Microsoft 365, такие как Word, Excel или Powerpoint.

Давайте быстро рассмотрим его ключевые особенности :

  • Упрощенные рабочие процессы на любой платформе – от настольных компьютеров до мобильных устройств и Интернета.
  • Конвертируйте PDF в форматы Microsoft 365
  • Расширенные инструменты совместной работы для обмена, просмотра и подписания документов на разных устройствах
  • Редактировать данные в отсканированных таблицах и преобразовывать формы в заполняемые формы
  • Мощный набор инструментов для редактирования (объединение, преобразование, удаление, поворот, обрезка и т.д. )

Чтобы вручную проверить наличие обновлений Adobe, щелкните «Справка» в окне Acrobat.

Выберите Проверить наличие обновлений, чтобы открыть окно средства обновления. Затем вы можете нажать кнопку «Загрузить и установить», если для нее есть обновления.

Загрузите Adobe Acrobat для Windows здесь


Word Online не работает или не отвечает? Вот как это исправить с помощью нескольких простых настроек.


2 Запустите Stellar Repair for Excel

ИСПРАВЛЕНИЕ: Ошибка компиляции в скрытом модуле в Word и Excel

Никакая ошибка не подходит для этого мощного инструмента, и ошибка компиляции в скрытом модуле не является исключением. Stellar Repair – это лучшая программа для восстановления Excel, защищающая данные вашей книги от повреждения и безвозвратной потери.

Запустите сканирование системы, чтобы обнаружить потенциальные ошибки

Нажмите Начать сканирование, чтобы найти проблемы с Windows.

Нажмите «Восстановить все», чтобы исправить проблемы с запатентованными технологиями.

Запустите сканирование ПК с помощью Restoro Repair Tool, чтобы найти ошибки, вызывающие проблемы с безопасностью и замедление. После завершения сканирования в процессе восстановления поврежденные файлы заменяются новыми файлами и компонентами Windows.

Stellar Repair for Excel исправляет серьезно поврежденные файлы .XLS / .XLSX с высочайшей степенью точности и восстанавливает все данные в исходное состояние, сохраняя при этом все свойства и форматирование.

Давайте быстро рассмотрим его ключевые особенности :

  • Восстановите поврежденные файлы Excel и восстановите исходное форматирование, макет и спецификации
  • Лаконичный, интуитивно понятный интерфейс со встроенным пошаговым мастером и рекомендациями по ремонту
  • Параметры простого поиска и поиска для быстрого поиска файлов и папок
  • Функция предварительного просмотра перед восстановлением в реальном времени
  • Полностью совместим с Windows 10, 8.1, 8, 7, Vista и XP
  • Поддерживает версии Microsoft Excel 2019, 2016, 2013, 2010, 2007, 2003 и 2000.
  • Мощный набор инструментов для восстановления данных (включая таблицы, диаграммы, комментарии к ячейкам, формулы и фильтры)

3 Перемещение файлов Pdfmaker в другую папку

Pdfmaker.xla и Pdfmaker.dot – это два файла Adobe Acrobat, связанные с ошибкой компиляции в скрытом модуле. Таким образом, перемещение этих файлов из папок MS Office также может исправить ошибку.

Вот как вы можете переместить эти файлы в альтернативную папку в Windows 10.

  • Нажмите кнопку «Введите здесь для поиска», чтобы открыть окно поиска Кортаны.
  • Введите Pdfmaker.xla в поле поиска, чтобы найти этот файл.
  • Чтобы найти Pdfmaker.dot, введите этот заголовок файла в поле поиска.
  • Затем щелкните файлы правой кнопкой мыши и выберите «Открыть расположение файлов», чтобы открыть соответствующие папки в проводнике.
  • Если вы не можете найти эти файлы с помощью инструмента поиска, откройте папки MS Office Startup и Xlstart в проводнике. Папка Startup включает Pdfmaker.dot, а каталог Xlstart включает Pdfmaker.xla.
  • Чтобы переместить файлы Pdfmaker на рабочий стол, щелкните их правой кнопкой мыши в проводнике и выберите параметр «Вырезать».
  • Щелкните правой кнопкой мыши другую папку (или рабочий стол Windows), чтобы переместить их, и выберите «Вставить».

4 Повторно зарегистрируйте файлы OCX с помощью командной строки

Ошибка компиляции в скрытом модуле также может быть побочным эффектом обновлений Windows. Таким образом, регистрация файла mscomctl.ocx также может решить проблему. Вот как вы можете повторно зарегистрировать этот файл OCX в командной строке.

  • Нажмите клавишу Windows + горячую клавишу X.
  • Выберите Командная строка (администратор), чтобы открыть ее от имени администратора.
  • Для 32-разрядной платформы Windows введите следующие команды в подсказке:

regsvr32 -u c:windowssystem32mscomctl.ocx
regsvr32 c:windowssystem32mscomctl.ocx

ИСПРАВЛЕНИЕ: Ошибка компиляции в скрытом модуле в Word и Excel

  • На 64-битных платформах Windows введите следующие команды:

regsvr32 -u c:windowssyswow64mscomctl.ocx
regsvr32 c:windowssyswow64mscomctl.ocx


Excel не открывает файлы? Ознакомьтесь с этим замечательным руководством, чтобы избавиться от этого белого экрана в кратчайшие сроки.


5 Обновите антивирусное программное обеспечение Norton

Norton Antivirus также связан с ошибкой компиляции в скрытом модуле. Если Norton AV установлен на вашем настольном компьютере или ноутбуке, обновление этого программного обеспечения может решить проблему.

Вы можете проверить наличие обновлений, нажав кнопку «Обновить сейчас» на этой веб-странице. Либо щелкните правой кнопкой мыши значок Norton Antivirus на панели задач и выберите Norton LiveUpdate.

6 Удаление программного обеспечения Norton

  • Если обновление Norton Antivirus не устраняет ошибку скрытого модуля, рассмотрите возможность удаления программного обеспечения Norton. Для этого нажмите сочетание клавиш Windows + R.
  • Введите «appwiz.cpl» в «Выполнить» и нажмите кнопку «ОК».

ИСПРАВЛЕНИЕ: Ошибка компиляции в скрытом модуле в Word и Excel

  • Выберите перечисленное программное обеспечение Norton Antivirus и нажмите его кнопку «Удалить».

  • Затем нажмите Да, чтобы удалить программное обеспечение.

    • *

Одно из этих решений для ошибки компиляции в ошибке скрытого модуля может запустить Word или Excel, чтобы вы могли запустить их снова.

Некоторые из более общих советов в этом посте по исправлению приложений MS Office, которые не открываются, также могут пригодиться для устранения проблемы со скрытым модулем.

Сообщите нам, какой из них сработал для вас, в разделе комментариев ниже.

Примечание редактора: этот пост был первоначально опубликован в августе 2018 года и с тех пор был переработан и обновлен в июле 2020 года для обеспечения свежести, точности и полноты.

Источник записи: windowsreport.com

When talking about MS Office error messages, it’s always a long story. Users would report hundreds of different error messages they received when they open Word, Excel, or PowerPoint. For some common errors like Runtime Error 1004 or add-in template is not valid, we have already introduced how can you fix them. This time, we will talk about another error message — Compile error in hidden module.

Users often received this error message when they start Excel. In rare times, when users start MS Word, this error would also pop up. Usually, users would see one of the following error messages:

  • Compile error in hidden module: AutoExec
  • Compile error in hidden module: AutoExecNew
  • Compile error in hidden module: DistMon

Compile error in hidden module

The different suffixes indicate that you have different culprits to blame, and that’s why there is more than one solution for you to solve the problem. Before checking the solutions, you should know the reasons why you see these error messages.

Why Do I See the Error Message of Compile Error in Hidden Module?

Now Office 2016 is upgraded from a 32-bit version to a 64-bit version. The Compile error in hidden module error message usually appears when there are dome 32-bit add-ins versions of the office in your computer, and they are incompatible with the 64-bit version.

Two common conditions that would cause this error are as follow:

1. When MS Excel startup folder contains both the following two template files on Adobe Acrobat PDF Maker add-in:

  • Pdfmaker.dot
  • Pdfmaker.xla

2. Your computer has installed the Norton Anti-virus software.

After knowing what causes this error message, now it’s time to apply the solutions. Here we have listed four solutions, you can try them one by one until you solve the problem.

Method 1. Re-register OCX Files with CMD

The first solution you can try is to re-register some basic Excel function files. In this method, we need to apply Windows Command Prompt.

Step 1. Press Windows + R keys at the same time. Type cmd in the run box.

Open cmd in Run box

Step 2. Type the following command and press Enter.

For 32-bit:

regsvr32 -u c:windowssystem32mscomctl.ocx

regsvr32 c:windowssystem32mscomctl.ocx

For 64-bit:

regsvr32 -u c:windowssystem64mscomctl.ocx

regsvr32 c:windowssystem64mscomctl.ocx

Step 3. Now run MS Excel again to check if the error message still exists.

Method 2. Delete .exd Files

The exd file is a control information cache file of Microsoft Office. These files are created when a user inserts an ActiveX control into a document using the Control Toolbox in an MS Office program. You can delete this cache file to see if it can fix the Compile error in the hidden module error.

Step 1. Press Windows + R keys at the same time. Type %appdata% in the run box.

Step 2. It will open your AppData folder. Go to Roaming > Microsoft > Forms.

Step 3. Find the .exd files, select comctllib.exd and mscomctllib.exd, and delete these two files.

Step 4. Restart your Excel and check if the problem is solved.

Method 3. Move PDF Maker Files

As we have mentioned above, one of the reasons you will see this error message is because there are two template files on Adobe Acrobat PDF Maker add-in. So in this method, you can move the PDF Maker files to another place to fix your problem. Here are the detailed steps.

Step 1. Open Windows File Explorer, search pdfmaker.* on your computer.

Step 2. Choose the pdfmaker.dot and pdfmaker.xla files, right-click on both files, and select cut.

Step 3. Paste these two files to your Desktop.

Now you can restart the MS Excel to see if the problem is solved.

Method 4. Update to the Latest Adobe Acrobat

If the above methods can’t help you solve the Compile error in hidden module problem, the last resort is to update the Adobe Acrobat to the latest version. It’s because this problem is associated with the Adobe Acrobat that is installed on your computer.

Go to the Adobe official website, find the latest version of Acrobat, download and install it on your computer.

related articles

How to Fix Word Runtime Error 91?

A runtime error is a common program error that usually occurs in Microsoft Office software. This article will you what is the reason for this error, and how to fix it.

runtime error 91

Bonus Solution: Repair Damaged or Corrupted MS Excel Efficiently

With the above methods, you might have solved the Excel Compile error in the hidden module issue. Then we’d like to share a good bonus tool — EaseUS Data Recovery Wizard with you. 

This is an advanced 4-in-1 specialized fix tool that enables you to repair corrupted  PDF documents and Office files in multiple formats. If your documents got damaged, Stellar file repair software will scan and repair them efficiently. 

If you want to try on this file repair software, you can download it and follow the guide to see how to use this tool. In the following guide, we have introduced how to repair Excel documents.

Step 1. Launch EaseUS Data Recovery Wizard. Select a disk location where the corrupted files are saved. Click «Scan» to start finding the broken files. EaseUS file repair tool allows you to fix damaged documents, videos, and pictures in differnet formats. 

select a location and click scan

Step 2. After scanning, you can quickly find corrupt data by file type. If you want to repair damaged Word, Excel, or PDF, select Documents and filter a specific category. For pictures and videos repair, all the common types are suppored, including JPEG, PNG, BMP, MOV, MP4, GIF, and more.

check scanned corrupt files

Step 3. EaseUS file repair software will automatically fix broken files. You can preview the repaired files before recovery. Last, click «Recover» and save the recovered files to a different location to avoid data overwriting.

recover and repair corrupted files

The Bottom Line

That’s all about Compile error in hidden module error message. Hope you can fix your problem after reading this article. Once again, we’d like to introduce EaseUS file repair tool. No matter whether you need to repair Word, Excel, PPT, or PDF documents, applying this tool is a wise choice.

When talking about MS Office error messages, it’s always a long story. Users would report hundreds of different error messages they received when they open Word, Excel, or PowerPoint. For some common errors like Runtime Error 1004 or add-in template is not valid, we have already introduced how can you fix them. This time, we will talk about another error message — Compile error in hidden module.

Users often received this error message when they start Excel. In rare times, when users start MS Word, this error would also pop up. Usually, users would see one of the following error messages:

  • Compile error in hidden module: AutoExec
  • Compile error in hidden module: AutoExecNew
  • Compile error in hidden module: DistMon

Compile error in hidden module

The different suffixes indicate that you have different culprits to blame, and that’s why there is more than one solution for you to solve the problem. Before checking the solutions, you should know the reasons why you see these error messages.

Why Do I See the Error Message of Compile Error in Hidden Module?

Now Office 2016 is upgraded from a 32-bit version to a 64-bit version. The Compile error in hidden module error message usually appears when there are dome 32-bit add-ins versions of the office in your computer, and they are incompatible with the 64-bit version.

Two common conditions that would cause this error are as follow:

1. When MS Excel startup folder contains both the following two template files on Adobe Acrobat PDF Maker add-in:

  • Pdfmaker.dot
  • Pdfmaker.xla

2. Your computer has installed the Norton Anti-virus software.

After knowing what causes this error message, now it’s time to apply the solutions. Here we have listed four solutions, you can try them one by one until you solve the problem.

Method 1. Re-register OCX Files with CMD

The first solution you can try is to re-register some basic Excel function files. In this method, we need to apply Windows Command Prompt.

Step 1. Press Windows + R keys at the same time. Type cmd in the run box.

Open cmd in Run box

Step 2. Type the following command and press Enter.

For 32-bit:

regsvr32 -u c:windowssystem32mscomctl.ocx

regsvr32 c:windowssystem32mscomctl.ocx

For 64-bit:

regsvr32 -u c:windowssystem64mscomctl.ocx

regsvr32 c:windowssystem64mscomctl.ocx

Step 3. Now run MS Excel again to check if the error message still exists.

Method 2. Delete .exd Files

The exd file is a control information cache file of Microsoft Office. These files are created when a user inserts an ActiveX control into a document using the Control Toolbox in an MS Office program. You can delete this cache file to see if it can fix the Compile error in the hidden module error.

Step 1. Press Windows + R keys at the same time. Type %appdata% in the run box.

Step 2. It will open your AppData folder. Go to Roaming > Microsoft > Forms.

Step 3. Find the .exd files, select comctllib.exd and mscomctllib.exd, and delete these two files.

Step 4. Restart your Excel and check if the problem is solved.

Method 3. Move PDF Maker Files

As we have mentioned above, one of the reasons you will see this error message is because there are two template files on Adobe Acrobat PDF Maker add-in. So in this method, you can move the PDF Maker files to another place to fix your problem. Here are the detailed steps.

Step 1. Open Windows File Explorer, search pdfmaker.* on your computer.

Step 2. Choose the pdfmaker.dot and pdfmaker.xla files, right-click on both files, and select cut.

Step 3. Paste these two files to your Desktop.

Now you can restart the MS Excel to see if the problem is solved.

Method 4. Update to the Latest Adobe Acrobat

If the above methods can’t help you solve the Compile error in hidden module problem, the last resort is to update the Adobe Acrobat to the latest version. It’s because this problem is associated with the Adobe Acrobat that is installed on your computer.

Go to the Adobe official website, find the latest version of Acrobat, download and install it on your computer.

related articles

How to Fix Word Runtime Error 91?

A runtime error is a common program error that usually occurs in Microsoft Office software. This article will you what is the reason for this error, and how to fix it.

runtime error 91

Bonus Solution: Repair Damaged or Corrupted MS Excel Efficiently

With the above methods, you might have solved the Excel Compile error in the hidden module issue. Then we’d like to share a good bonus tool — EaseUS Data Recovery Wizard with you. 

This is an advanced 4-in-1 specialized fix tool that enables you to repair corrupted  PDF documents and Office files in multiple formats. If your documents got damaged, Stellar file repair software will scan and repair them efficiently. 

If you want to try on this file repair software, you can download it and follow the guide to see how to use this tool. In the following guide, we have introduced how to repair Excel documents.

Step 1. Launch EaseUS Data Recovery Wizard. Select a disk location where the corrupted files are saved. Click «Scan» to start finding the broken files. EaseUS file repair tool allows you to fix damaged documents, videos, and pictures in differnet formats. 

select a location and click scan

Step 2. After scanning, you can quickly find corrupt data by file type. If you want to repair damaged Word, Excel, or PDF, select Documents and filter a specific category. For pictures and videos repair, all the common types are suppored, including JPEG, PNG, BMP, MOV, MP4, GIF, and more.

check scanned corrupt files

Step 3. EaseUS file repair software will automatically fix broken files. You can preview the repaired files before recovery. Last, click «Recover» and save the recovered files to a different location to avoid data overwriting.

recover and repair corrupted files

The Bottom Line

That’s all about Compile error in hidden module error message. Hope you can fix your problem after reading this article. Once again, we’d like to introduce EaseUS file repair tool. No matter whether you need to repair Word, Excel, PPT, or PDF documents, applying this tool is a wise choice.

Ошибка компиляции в скрытом модуле: <module name>

Защищенный модуль содержит ошибку компиляции. Так как эта ошибка находится в защищенном модуле, ее нельзя отобразить.

Эта ошибка обычно возникает в случае несовместимости кода с версией или архитектурой данного приложения (например, код в документе рассчитан на 32-разрядные приложения Microsoft Office, однако предпринимается попытка его запуска в 64-разрядной версии Office).

Эта ошибка имеет следующие причину и решение:

  • Ошибка возникает при наличии ошибки компиляции в коде VBA внутри защищенного (скрытого) модуля. Эта ошибка компиляции не отображается, так как модуль является защищенным.

Если у вас есть доступ к коду VBA в документе или проекте, отмените защиту модуля, а затем запустите код еще раз для просмотра сведений об ошибке.

Если доступ к коду VBA в документе отсутствует, обратитесь к автору документа, чтобы он обновил код вскрытом модуле.

Хотите создавать решения, которые расширяют возможности Office на разнообразных платформах? Ознакомьтесь с новой моделью надстроек Office. Надстройки Office занимают меньше места по сравнению с надстройками и решениями VSTO, и вы можете создавать их, используя практически любую технологию веб-программирования, например HTML5, JavaScript, CSS3 и XML.

Поддержка и обратная связь

Есть вопросы или отзывы, касающиеся Office VBA или этой статьи? Руководство по другим способам получения поддержки и отправки отзывов см. в статье Поддержка Office VBA и обратная связь.

Ошибка решается, проверкой не включенных модулей в окне VB,проверьте все ли необходимые модули включены,и есть ли эти модули на самом деле на ПК,возможно модуль отмечен,но сам отсутствует у меня проблему решило,включением специфических модулей для конкретного файла с расчетами.

Решение проблемы: Откройте файл в Excel – при помощи комбинации клавиш войдите в окно Visual Basic(ALT+F11), далее выберите меню “Tools-References” и посмотрите все ли отмеченные модули есть на самом деле на компьютере и все ли модули необходимые для работы Вашего макроса включены.

Error in Excel “Compile Error in Hidden Module”
Can be happen when Excel miss some reference to library.
For fix: Open Excel – Go to VB window -(ALT+F11).Open Tools-References and check unchecked modules(only needed for your Document).

Решения для ошибки компиляции в скрытом модуле в Excel или Word [Новости MiniTool]

ошибка компиляции в скрытом модуле

При использовании Excel или Word вы можете получить сообщение об ошибке «Ошибка компиляции в скрытом модуле». Что делать, чтобы избавиться от ошибки компиляции Word или Excel на ПК с Windows? Успокойтесь, и теперь вы можете получить несколько простых методов из этого сообщения, предлагаемого MiniTool .

Ошибка компиляции Excel или Word в скрытом модуле

При запуске Excel или Word на экране вашего компьютера может появиться сообщение «Ошибка компиляции в скрытом модуле». Модуль может быть thisworkbook, hstbarpublic, menuandtoolbar, aowd и т. Д.

Почему возникает ошибка компиляции? Это связано с тем, что Microsoft обновляет Office 2016 с 32-разрядной версии до 64-разрядной версии, но в Office есть несовместимые 32-разрядные надстройки. То есть некоторые надстройки содержат код, несовместимый с текущей версией Office 2016.

Что делать, чтобы избавиться от ошибки? Решения для вас ниже.

исправить не отвечающий Excel эскизУстранение неполадок Excel и спасение ваших данных (несколькими способами)

Вы хотите избавиться от Microsoft Excel, который не отвечает? В этом посте мы покажем вам несколько методов, которые могут эффективно решить эту проблему.

Исправления ошибок компиляции в скрытом модуле Excel или Word

Обновите Adobe Acrobat

Два файла шаблона Adobe Acrobat в папке Office могут вызвать сообщение об ошибке компиляции. Одно из возможных решений — обновить Adobe Acrobat.

Шаг 1. Щелкните это приложение, перейдите в Справка> Проверить обновления .

Шаг 2. Если есть обновления, нажмите Загрузить и установить .

Используйте CMD для регистрации файлов OCX

Чтобы исправить ошибку компиляции Excel, вам необходимо зарегистрировать некоторые файлы, необходимые для работы Excel. Просто следуйте этим инструкциям:

Шаг 1. Запустите командную строку (CMD) с правами администратора.

Шаг 2: Введите следующие команды и нажмите Войти после каждого:

В 32-битной Windows:

regsvr32 -u c: windows system32 mscomctl.ocx

regsvr32 c: windows system32 mscomctl.ocx

В 64-битной Windows:

regsvr32 -u c: windows syswow64 mscomctl.ocx

regsvr32 c: windows syswow64 mscomctl.ocx

Зарегистрируйте файлы OCX

Шаг 3: Запустите Excel и посмотрите, исправили ли вы ошибку компиляции в скрытом модуле.

Переместить файлы Pdfmaker в другую папку

Pdfmaker.xla и pdfmaker.dot — это два файла Adobe Acrobat, вызывающие ошибку компиляции. Итак, вы можете переместить эти файлы из папок MS Office, чтобы исправить проблему.

Шаг 1: введите pdfmaker.xla в поле поиска и щелкните его правой кнопкой мыши, чтобы выбрать Откройте расположение файла .

Шаг 2: В проводнике скопируйте и вставьте этот файл в другую папку, например на рабочий стол.

Шаг 3. Сделайте то же самое с файлом pdfmaker.dot.

Теперь вам нужно избавиться от ошибки компиляции в скрытом модуле.

Удалить файлы .exd

Если описанные выше решения не помогли, попробуйте удалить файлы .exd со своего компьютера. Это может быть полезно для исправления ошибки компиляции Excel или Word в скрытом модуле.

Шаг 1: нажмите Win + R , ввод %данные приложения% и нажмите Хорошо .

Шаг 2: нажмите Microsoft> Формы .

Шаг 3. Щелкните правой кнопкой мыши comctllib.exd и mscomctllib.exd и щелкните удалять чтобы удалить их по одному.

Обновите антивирус Norton

Norton Antivirus может быть связан с ошибкой компиляции в скрытом модуле. Если на вашем настольном компьютере или ноутбуке установлено это программное обеспечение, его обновление может помочь решить проблему.

Шаг 1. Перейти к эта ссылка и нажмите Обновите меня сейчас .

Шаг 2: Щелкните файл .exe, чтобы запустить его и завершить обновление.

Если обновление не может решить вашу проблему, вы можете удалить это антивирусное программное обеспечение со своего компьютера и посмотреть, удаляется ли ошибка. Просто обратитесь к этому сообщению — Четыре идеальных способа: как удалить программы в Windows 10 .

Конец

Вас беспокоит ошибка компиляции в скрытом модуле при использовании Word или Excel? Не принимайте это близко к сердцу. Попробовав эти методы, вы легко и эффективно избавитесь от этой проблемы.

На чтение 4 мин. Просмотров 1.8k. Опубликовано 03.09.2019

Содержание

  1. Вот как можно исправить ошибки компиляции в Word и Excel
  2. Как исправить ошибки компиляции в Word/Excel?
  3. 1. Обновите Adobe Acrobat
  4. 2. Переместите файлы Pdfmaker в другую папку
  5. 3. Перерегистрируйте файлы OCX с помощью командной строки.
  6. 4. Обновите антивирусное программное обеспечение Norton
  7. 5. Удалите программное обеспечение Norton

Вот как можно исправить ошибки компиляции в Word и Excel

  1. Обновление Adobe Acrobat
  2. Переместить файлы Pdfmaker в другую папку
  3. Повторная регистрация файлов OCX с помощью командной строки
  4. Обновите антивирусное программное обеспечение Norton
  5. Удалите программное обеспечение Norton

« Ошибка компиляции в скрытом модуле » – это сообщение об ошибке, которое может появиться у некоторых пользователей MS Word и Excel. Сообщение об ошибке появляется, когда пользователи Office открывают Word или Excel. Следовательно, ни одно приложение не запускается для пользователей. Появляется ли сообщение об ошибке « Ошибка компиляции в скрытом модуле » при открытии Excel или Word? Если это так, вот несколько решений, которые могут это исправить.

Как исправить ошибки компиляции в Word/Excel?

1. Обновите Adobe Acrobat

Ошибка « Ошибка компиляции в скрытом модуле » может быть связана с двумя файлами шаблонов Adobe Acrobat в папках MS Office. Таким образом, обновление Adobe Acrobat является одним из возможных решений этой проблемы. Чтобы вручную проверить наличие обновлений Adobe, нажмите Справка в окне Acrobat. Выберите Проверить наличие обновлений , чтобы открыть окно программы обновления. Затем вы можете нажать кнопку Загрузить и установить , если для нее есть обновления.

– СВЯЗАННО: как исправить то, что Word Online не работает или не отвечает

2. Переместите файлы Pdfmaker в другую папку

Pdfmaker.xla и Pdfmaker.dot – это два файла Adobe Acrobat, связанные с проблемой « Ошибка компиляции в скрытом модуле ». Таким образом, перемещение этих файлов из папок MS Office также может исправить ошибку. Вот как вы можете переместить эти файлы в альтернативную папку в Windows 10.

  • Нажмите кнопку Введите здесь поиск , чтобы открыть окно поиска Cortana.
  • Введите «Pdfmaker.xla» в поле поиска, чтобы найти этот файл.
  • Чтобы найти файл Pdfmaker.dot, введите название этого файла в поле поиска.
  • Затем щелкните правой кнопкой мыши файлы и выберите Открыть местоположение файла , чтобы открыть их папки в проводнике.
  • Если вы не можете найти эти файлы с помощью инструмента поиска, откройте папки MS Office Startup и Xlstart в проводнике. Папка «Автозагрузка» содержит файл Pdfmaker.dot, а каталог Xlstart – файл Pdfmaker.xla.
  • Чтобы переместить файлы Pdfmaker на рабочий стол, щелкните их правой кнопкой мыши в проводнике и выберите параметр Вырезать .
  • Щелкните правой кнопкой мыши другую папку (или рабочий стол Windows), чтобы переместить их и выберите Вставить .

3. Перерегистрируйте файлы OCX с помощью командной строки.

Ошибка « Ошибка компиляции в скрытом модуле » также может быть побочным эффектом обновлений Windows. Таким образом, регистрация файла mscomctl.ocx также может решить эту проблему. Вот как вы можете перерегистрировать этот файл OCX в командной строке.

  • Нажмите клавишу Windows + X горячую клавишу.
  • Выберите Командная строка (администратор) , чтобы открыть подсказку от имени администратора.
  • Для 32-разрядной платформы Windows введите в командной строке следующие команды:

regsvr32 -u c: windowssystem32mscomctl.ocx
regsvr32 c: windowssystem32mscomctl.ocx

  • На 64-битных платформах Windows введите эти команды:

regsvr32 -u c: windowssyswow64mscomctl.ocx
regsvr32 c: windowssyswow64mscomctl.ocx

– СВЯЗАННО: Excel не открывает файлы, вместо этого отображается белый экран? Вы можете это исправить

4. Обновите антивирусное программное обеспечение Norton

Norton Antivirus также связан с ошибкой Ошибка компиляции в скрытом модуле . Если Norton AV установлен на вашем настольном компьютере или ноутбуке, обновление этого программного обеспечения может решить проблему. Вы можете проверить наличие обновлений, нажав кнопку Обновить меня сейчас на этой веб-странице. Или щелкните правой кнопкой мыши значок Norton Antivirus на панели задач и выберите Norton LiveUpdate .

5. Удалите программное обеспечение Norton

  • Если обновление Norton Antivirus не устраняет ошибку скрытого модуля, рассмотрите возможность удаления программного обеспечения Norton. Для этого нажмите сочетание клавиш Windows + R.
  • Введите «appwiz.cpl» в «Выполнить» и нажмите кнопку ОК .

  • Выберите из списка антивирус Norton и нажмите кнопку Удалить .
  • Затем нажмите Да , чтобы удалить программное обеспечение.

Одно из этих решений для ошибки « Ошибка компиляции в скрытом модуле » может запустить Word или Excel, чтобы вы могли запустить их снова. Некоторые из более общих советов в этом посте по исправлению неиспользуемых приложений MS Office также могут пригодиться для решения проблемы со скрытыми модулями.

Return to VBA Code Examples

In this Article

  • Viewing a Hidden Module
  • Fixing a Syntax Error
  • Fixing a Missing Reference
  • Check the Excel Start up Folder
  • Using Add-ins and Macros from Other Providers

This article will demonstrate how to fix the VBA Error: Compile Error in Hidden Module.

The VBA Compile Error in Hidden Module occurs when you are using a VBA macro in Excel which is stored in a hidden module. This might be due to the fact that you are using an External Add-in, or you may have created your own program in a previous version of Excel that no longer works in your current version of Excel. As the error says the module is hidden, then the code is most likely protected by a password and not normally available for the user to Edit.

vbacompile hidden module

Viewing a Hidden Module

The first thing to do to solve the problem would be to see if you can unhide the hidden module.

Press Alt+F11 to go to the VBE Editor.

OR

In the Ribbon, select Developer > Visual Basic.

vbacompile vbe

Note: If you don’t see the Developer Ribbon, you’ll need to enable it.

You will then be able to view your hidden module and fix the error.

Fixing a Syntax Error

(1) Double-click on the VBA Project that contains the hidden module, and then, (2) type in the Password.

vbacompile password

In the Menu, select Debug > Compile to compile the project.

vbacompile debug

The compile error should immediately pop up.  In this case we have a simple syntax error in the code.

vbacompile syntax error

Fix the error, and then click Debug > Compile again.  Once the project is successfully compiled, the compile option will be greyed out.

vbacompile compiled

Save the project to keep your changes.

vbacompile save file

Fixing a Missing Reference

Another common reason for a compile error in Excel is a missing reference. First, unhide your module in the same way as shown above, and then in the Menu, select Tools > References.

vbacompile error reference

Scroll down through the list of references to find the one you want to use.  In this case, the Microsoft Word 16.0 Object Library.

vbacompileerror add reference

(1) Select the reference and then (2) click OK and then Save your File.

Check the Excel Start up Folder

You may find that you have an add-in installed that you no longer require and these may be causing issues when you try and open Excel.

Make sure Excel is closed and then, in the File Manager of your PC, go to the XLSTART folder (this is usually located in C:UsersUSERNAMEAppDataRoamingMicrosoftExcel).

Remove any Add-ins (XLA or XLAM files) that you are not using.

Restart Excel.

Using Add-ins and Macros from Other Providers

If you use macros or add-ins from an external provider, chances are you are not going to have access to the password to fix your compile error. If this is the case you would need to contact the provider of the add-in or macro in order to update it to your version of Excel. To solve the compile error problem you would need to disable the add-in.

In the Ribbon, select Developer > Add-ins, and then select either Excel Add-ins or COM Add-ins.

vbacompile select addins

Remove the check mark from any selected add-in that is causing combability issues, and then click OK.

Close and Re-Open Excel.

VBA Coding Made Easy

Stop searching for VBA code online. Learn more about AutoMacro — A VBA Code Builder that allows beginners to code procedures from scratch with minimal coding knowledge and with many time-saving features for all users!
vba save as

Learn More!

You might receive a “Compile Error in Hidden Module” error message when you start your Excel.

Whether it is Excel or any other Microsoft Applications from time to time they are prone to errors. This Compile Error in Hidden module occurs in both MS Excel and MS Word but in this blog, you will get to know how to repair Compile Error in Hidden module in Excel.

When you start MS Excel the particular error message that displays on the screen is:

Compile error in hidden module: AutoExec

Compile error in hidden module: AutoExecNew

Compile error in hidden module: DistMon

If you are using an older version of Windows like Windows 95/98 then you might receive an error message that says:

Excel has performed an error in module excel.exe and will be closed.

For Windows 2000 and above version the error appears like:

Excel has encountered a problem and needs to close. We are sorry for the inconvenience.

After the error message is displayed, an error report will be presented which provide the additional information of that error, a link will be shown something like:

– 9.0.0.5302 – Vbe6.dll – 6.0.89.67 – 0000d799

Just click on the link to view full details of that error and depending on the application that has been crashed you might see the location to excel.exe which will guide you to the culprit of this error message.

To repair Compile Error in Hidden module go through the solutions one by one but before that get to know why does this Compile Error in Hidden module in Excel appears.

To recover Excel corrupt module, we recommend this tool:

This software will prevent Excel workbook data such as BI data, financial reports & other analytical information from corruption and data loss. With this software you can rebuild corrupt Excel files and restore every single visual representation & dataset to its original, intact state in 3 easy steps:

  1. Download Excel File Repair Tool rated Excellent by Softpedia, Softonic & CNET.
  2. Select the corrupt Excel file (XLS, XLSX) & click Repair to initiate the repair process.
  3. Preview the repaired files and click Save File to save the files at desired location.

Why Does Compile Error In Hidden Module In Excel Appear?

Microsoft is upgrading Office 2016 from 32-bit version to 64-bit version. This Compile Error in Hidden module error message usually appears when there are dome 32-bit add-ins versions of office which are incompatible with the newer version.

The most common reason behind this error is when some conditions come true:

1: MS Excel startup folder when contains both the template files on Adobe Acrobat PDF Maker add-in:

Pdfmaker.dot
Pdfmaker.xla

2: Software named Norton Anti-virus software has been installed.

Now, that you know the reason that causes Compile Error in Hidden module in Excel. Let’s begin with the solutions to fix this error.

1: Re-register OCX Files Using CMD

To fix compile error in hidden module you need to re-register some files basic to the functionality of Excel. Follow the steps:

  • Start your system with the Administrative rights
  • Press Windows + R key
  • Type “cmd” and click on OK

  • Depending on the version type the following commands and press enter:

For 32-bit version

regsvr32 -u c:windowssystem32mscomctl.ocx
regsvr32 c:windowssystem32mscomctl.ocx

For 64-bit version

regsvr32 -u c:windowssyswow64mscomctl.ocx
regsvr32 c:windowssyswow64mscomctl.ocx

Now, run MS Excel and see whether Microsoft visual basic compile error in hidden module is solved or not.

2: Try Deleting .exd Files

If the above-given solution did nor work then try deleting the .exd files from your folder, this might help you in fixing the compile error in the hidden module in excel. Follow the steps to delete files:

  • Press Windows + R key
  • Type %appdata% and click OK

  • This will open the Application Data folder, now select Microsoft

  • Open the Forms folder

  • Select comctllib.exd and mscomctllib.exd, Right-click on them and Delete

Deleting the .exd files will let you start Excel and the compile error in the hidden module issue will be resolved.

3: Move PDF Maker Files

If you are using Adobe Acrobat PDF Maker then to solve this issue you need to move the Pdfmaker.dot file and Pdfmaker.xla files to a different location. To do so follow the steps given below:

  • Click on the Windows icon and type pdfmaker. *

  • Click on all files and folders.

  • In the All or part of the file name type pdfmaker. * and search

  • Once the files are located, right-click on the pdfmaker.dot & pdfmaker.xla, and select the Cut.

  • Go to the Desktop and Paste it

After moving the PDF files by performing the above-stated steps compile error in the hidden module excel issue must be solved.

4: Update Latest Version of Adobe Acrobat

If the above method mentioned didn’t fix the Excel Compile error in the hidden module 2016 problem, then you can try updating the Adobe Acrobat version.

To update the add-in Adobe Acrobat, visit the official website of Adobe. You can find the newest updates in the search engine by searching the Adobe Acrobat Updates.

After updating the Adobe Acrobat restart your system and see if the compile error in hidden module Excel problem is solved or not.

5: Fix “Compile error in hidden module” Module 1

This error also occurs when you have recently upgraded or might have saved an Excel file that was created in different locations between versions.

To fix Excel compile error in hidden module  issue follows the simple steps mentioned below:

  • Select the file that is wrongly saved in Excel
  • Press AltF11 to go into the file Visual Basic Editor.
  • From the Tools menu, select the References
  • Scroll down to the Available References box and uncheck all that starts with MISSING:
  • Press AltQ when all the reference errors have been unchecked.

These steps will help you to fix the compile error in hidden module 1 issue.

Automatic Solution: MS Excel Repair Tool

If you are finding the above solutions difficult to perform and if you are unable to solve compile error in hidden module Excel issue, then you can try running MS Excel Repair Tool.

This is an advanced repairing tool that not only repairs damaged, corrupted, or inaccessible Excel files and all sorts of Excel errors but also recovers deleted, lost data from chart sheets, cell comments, formulas & others.

One can easily use this tool without the need for any professional and it supports all Excel versions.

* Free version of the product only previews recoverable data.

Steps to Utilize MS Excel Repair Tool:

Conclusion:

So, this was all about compile error in hidden module Excel. Well, I have tried my best to put together all the working solutions together to fix this issue.

Carefully follow the solutions given one by one. They are easy to use and had worked for many users.

Hope you liked this article and it worked for you in fixing the compile error in hidden module excel issue and making your Excel work again without any error.

Apart from this if you have any suggestions or queries then feel free to share them with us in the below comment section.

Summary

How to Fix Compile Error in Hidden Module Excel?

Article Name

How to Fix Compile Error in Hidden Module Excel?

Description

Learn to troubleshoot ‘compile error in hidden module’ error message when using Excel with the step by step solutions and make Excel error-free.

Author

Publisher Name

Repair MS Excel Blog

Publisher Logo

Repair MS Excel Blog

Priyanka Sahu

Priyanka is an entrepreneur & content marketing expert. She writes tech blogs and has expertise in MS Office, Excel, and other tech subjects. Her distinctive art of presenting tech information in the easy-to-understand language is very impressive. When not writing, she loves unplanned travels.

Последнее обновление: 13 июля 2020 г.


  • Вы уже сталкивались с ошибкой компиляции в скрытом модуле при использовании Word или Excel?
  • Не теряйте из-за этого сон – вот несколько простых исправлений, которые гарантированно восстановят ваши файлы в кратчайшие сроки.
  • Если вы часто имеете дело с файлами Word, вы можете добавить в закладки наш Центр устранения неполадок MS Word на всякий случай.
  • Не стесняйтесь изучить наши руководства по Microsoft Office и получить все решения, которые могут вам когда-либо понадобиться, в одном месте.

Чтобы исправить различные проблемы с ПК, мы рекомендуем Restoro PC Repair Tool: это программное обеспечение исправит распространенные компьютерные ошибки, защитит вас от потери файлов, вредоносных программ, сбоев оборудования и оптимизирует ваш компьютер для максимальной производительности. Решите проблемы с ПК и удалите вирусы прямо сейчас, выполнив 3 простых шага:

  1. Загрузите Restoro PC Repair Tool, который поставляется с запатентованными технологиями (патент доступен здесь ).
  2. Нажмите Начать сканирование, чтобы найти проблемы Windows, которые могут вызывать проблемы с ПК.
  3. Нажмите «Восстановить все», чтобы исправить проблемы, влияющие на безопасность и производительность вашего компьютера.
  • В этом месяце Restoro скачали 668 476 читателей.

Ошибка компиляции в скрытом модуле – это сообщение об ошибке, которое может появиться у некоторых пользователей MS Word и Excel.

Сообщение об ошибке обычно появляется, когда пользователи Office открывают Word или Excel. Следовательно, ни одно приложение не запускается.

Появляется ли сообщение об ошибке компиляции в скрытом модуле при открытии Excel или Word? Если да, то вот несколько решений, которые могут это исправить.

Как исправить ошибки компиляции в Word / Excel?

  1. Обновите Adobe Acrobat
  2. Запустите Stellar Repair for Excel
  3. Переместить файлы Pdfmaker в другую папку
  4. Повторно зарегистрируйте файлы OCX с помощью командной строки
  5. Обновите антивирусное программное обеспечение Norton
  6. Удалить программное обеспечение Norton

1 Обновите Adobe Acrobat

ИСПРАВЛЕНИЕ: Ошибка компиляции в скрытом модуле в Word и Excel

Ошибка компиляции в скрытом модуле может быть связана с двумя файлами шаблонов Adobe Acrobat в папках MS Office. Таким образом, обновление Adobe Acrobat – одно из возможных решений проблемы.

Также крайне важно запускать программное обеспечение из надежного источника, поэтому мы настоятельно рекомендуем вам устанавливать Acrobat только с его официального сайта.

Acrobat – это мощный пакет для редактирования, тесно связанный с форматами файлов Microsoft Office, что делает его полностью цифровым.

Фактически, нет необходимости начинать заново, если вы столкнулись с ошибкой, вы можете быстро экспортировать PDF-файлы в другие Microsoft 365, такие как Word, Excel или Powerpoint.

Давайте быстро рассмотрим его ключевые особенности :

  • Упрощенные рабочие процессы на любой платформе – от настольных компьютеров до мобильных устройств и Интернета.
  • Конвертируйте PDF в форматы Microsoft 365
  • Расширенные инструменты совместной работы для обмена, просмотра и подписания документов на разных устройствах
  • Редактировать данные в отсканированных таблицах и преобразовывать формы в заполняемые формы
  • Мощный набор инструментов для редактирования (объединение, преобразование, удаление, поворот, обрезка и т.д. )

Чтобы вручную проверить наличие обновлений Adobe, щелкните «Справка» в окне Acrobat.

Выберите Проверить наличие обновлений, чтобы открыть окно средства обновления. Затем вы можете нажать кнопку «Загрузить и установить», если для нее есть обновления.

Загрузите Adobe Acrobat для Windows здесь


Word Online не работает или не отвечает? Вот как это исправить с помощью нескольких простых настроек.


2 Запустите Stellar Repair for Excel

ИСПРАВЛЕНИЕ: Ошибка компиляции в скрытом модуле в Word и Excel

Никакая ошибка не подходит для этого мощного инструмента, и ошибка компиляции в скрытом модуле не является исключением. Stellar Repair – это лучшая программа для восстановления Excel, защищающая данные вашей книги от повреждения и безвозвратной потери.

Запустите сканирование системы, чтобы обнаружить потенциальные ошибки

Нажмите Начать сканирование, чтобы найти проблемы с Windows.

Нажмите «Восстановить все», чтобы исправить проблемы с запатентованными технологиями.

Запустите сканирование ПК с помощью Restoro Repair Tool, чтобы найти ошибки, вызывающие проблемы с безопасностью и замедление. После завершения сканирования в процессе восстановления поврежденные файлы заменяются новыми файлами и компонентами Windows.

Stellar Repair for Excel исправляет серьезно поврежденные файлы .XLS / .XLSX с высочайшей степенью точности и восстанавливает все данные в исходное состояние, сохраняя при этом все свойства и форматирование.

Давайте быстро рассмотрим его ключевые особенности :

  • Восстановите поврежденные файлы Excel и восстановите исходное форматирование, макет и спецификации
  • Лаконичный, интуитивно понятный интерфейс со встроенным пошаговым мастером и рекомендациями по ремонту
  • Параметры простого поиска и поиска для быстрого поиска файлов и папок
  • Функция предварительного просмотра перед восстановлением в реальном времени
  • Полностью совместим с Windows 10, 8.1, 8, 7, Vista и XP
  • Поддерживает версии Microsoft Excel 2019, 2016, 2013, 2010, 2007, 2003 и 2000.
  • Мощный набор инструментов для восстановления данных (включая таблицы, диаграммы, комментарии к ячейкам, формулы и фильтры)

3 Перемещение файлов Pdfmaker в другую папку

Pdfmaker.xla и Pdfmaker.dot – это два файла Adobe Acrobat, связанные с ошибкой компиляции в скрытом модуле. Таким образом, перемещение этих файлов из папок MS Office также может исправить ошибку.

Вот как вы можете переместить эти файлы в альтернативную папку в Windows 10.

  • Нажмите кнопку «Введите здесь для поиска», чтобы открыть окно поиска Кортаны.
  • Введите Pdfmaker.xla в поле поиска, чтобы найти этот файл.
  • Чтобы найти Pdfmaker.dot, введите этот заголовок файла в поле поиска.
  • Затем щелкните файлы правой кнопкой мыши и выберите «Открыть расположение файлов», чтобы открыть соответствующие папки в проводнике.
  • Если вы не можете найти эти файлы с помощью инструмента поиска, откройте папки MS Office Startup и Xlstart в проводнике. Папка Startup включает Pdfmaker.dot, а каталог Xlstart включает Pdfmaker.xla.
  • Чтобы переместить файлы Pdfmaker на рабочий стол, щелкните их правой кнопкой мыши в проводнике и выберите параметр «Вырезать».
  • Щелкните правой кнопкой мыши другую папку (или рабочий стол Windows), чтобы переместить их, и выберите «Вставить».

4 Повторно зарегистрируйте файлы OCX с помощью командной строки

Ошибка компиляции в скрытом модуле также может быть побочным эффектом обновлений Windows. Таким образом, регистрация файла mscomctl.ocx также может решить проблему. Вот как вы можете повторно зарегистрировать этот файл OCX в командной строке.

  • Нажмите клавишу Windows + горячую клавишу X.
  • Выберите Командная строка (администратор), чтобы открыть ее от имени администратора.
  • Для 32-разрядной платформы Windows введите следующие команды в подсказке:

regsvr32 -u c:windowssystem32mscomctl.ocx
regsvr32 c:windowssystem32mscomctl.ocx

ИСПРАВЛЕНИЕ: Ошибка компиляции в скрытом модуле в Word и Excel

  • На 64-битных платформах Windows введите следующие команды:

regsvr32 -u c:windowssyswow64mscomctl.ocx
regsvr32 c:windowssyswow64mscomctl.ocx


Excel не открывает файлы? Ознакомьтесь с этим замечательным руководством, чтобы избавиться от этого белого экрана в кратчайшие сроки.


5 Обновите антивирусное программное обеспечение Norton

Norton Antivirus также связан с ошибкой компиляции в скрытом модуле. Если Norton AV установлен на вашем настольном компьютере или ноутбуке, обновление этого программного обеспечения может решить проблему.

Вы можете проверить наличие обновлений, нажав кнопку «Обновить сейчас» на этой веб-странице. Либо щелкните правой кнопкой мыши значок Norton Antivirus на панели задач и выберите Norton LiveUpdate.

6 Удаление программного обеспечения Norton

  • Если обновление Norton Antivirus не устраняет ошибку скрытого модуля, рассмотрите возможность удаления программного обеспечения Norton. Для этого нажмите сочетание клавиш Windows + R.
  • Введите «appwiz.cpl» в «Выполнить» и нажмите кнопку «ОК».

ИСПРАВЛЕНИЕ: Ошибка компиляции в скрытом модуле в Word и Excel

  • Выберите перечисленное программное обеспечение Norton Antivirus и нажмите его кнопку «Удалить».

  • Затем нажмите Да, чтобы удалить программное обеспечение.

    • *

Одно из этих решений для ошибки компиляции в ошибке скрытого модуля может запустить Word или Excel, чтобы вы могли запустить их снова.

Некоторые из более общих советов в этом посте по исправлению приложений MS Office, которые не открываются, также могут пригодиться для устранения проблемы со скрытым модулем.

Сообщите нам, какой из них сработал для вас, в разделе комментариев ниже.

Примечание редактора: этот пост был первоначально опубликован в августе 2018 года и с тех пор был переработан и обновлен в июле 2020 года для обеспечения свежести, точности и полноты.

Источник записи: windowsreport.com

  • Ошибка compile error dayz
  • Ошибка common dll freelancer
  • Ошибка command line option syntax error type command for help что делать
  • Ошибка comm error на хундай 300
  • Ошибка comdlg32 ocx windows 10