Share via

Compile Error in hidden module: modRegFunctions

Anonymous
2016-10-26T08:09:54+00:00

I am using a 32 bit system to run an excel file created in 64 bit excel 2010 which contains some user defined functions. I am the only person who gets this error every time I attempt to run the excel file: Compile Error in hidden module: modRegFunctions

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

1 answer

Sort by: Most helpful
  1. Anonymous
    2016-10-27T00:08:59+00:00

    Hi,

    Compile error in hidden module: <module name>

    The error occurs when code is not compatible with the version of this application. (Example, code in a document targets 32-bit Microsoft Office applications, but attempting to run on  64-bit Office)

    It 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.

    Here are the possible solutions:

    1. 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.
    2. 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.

    Get back to us for the result.

    Was this answer helpful?

    0 comments No comments