Microsoft Word Mac Error Compile Error In Hidden Module Link



Kevin is a dynamic and self-motivated information technology professional, with a Thorough knowledge of all facets pertaining to network infrastructure design, implementation and administration. 2013-7-17  一个很普通的excel文件打开报错如下 为了隔离问题,新建一个excel打开仍然报错,问题定位到了Excel本身 安全模式启动Excel打开文件OK没问题 基本上清晰了是插件的问题 disable pdf add-in,问题解决 搜索引擎上查了下,原来是已经的问题 http.

ALT + F11 should open VBA - but your error says hidden Module1 - meaning you might not even see the module in VBA for Excel.

You might need to contact the source / developer of the file...

Hidden

Another possible issue could be your Excel Start Up folder - but that would mean you see the error with any Excel file - the following link explains it on an example - but it could be anything in that folder that could cause it - assuming it comes up ALL the time - not just with one file! https://support.microsoft.com/en-us/help/307410/you-receive-a-compile-error-in-hidden-module-error-m...

There are other possibilities like the file is corrupt or you have e.g. reference issues - without further details hard to tell...

What scares me is you write 'someone received an Excel file' - hope this source is trustworthy! Especially in regards to your macro security settings

-->Microsoft word mac error compile error in hidden module link download

A protected module contains a compilation error. Because the error is in a protected module it cannot be displayed.

This error commonly occurs when code is incompatible with the version or architecture of this application (for example, code in a document targets 32-bit Microsoft Office applications but it is attempting to run on 64-bit Office).

This error has the following cause and solution:

Cause of the error:

  • The error is raised when a compilation error exists in the VBA code inside a protected (hidden) module. The specific compilation error is not exposed because the module is protected.

Possible solutions:

  • If you have access to the VBA code in the document or project, unprotect the module, and then run the code again to view the specific error.

  • If you do not have access to the VBA code in the document, then contact the document author to have the code in the hidden module updated.

Note

Interested in developing solutions that extend the Office experience across multiple platforms? Check out the new Office Add-ins model. Office Add-ins have a small footprint compared to VSTO Add-ins and solutions, and you can build them by using almost any web programming technology, such as HTML5, JavaScript, CSS3, and XML.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.