A “Compile Error” typically indicates that a Reference in one of the global startup templates is missing or obsolete. Each of the macro templates in the startup folder – including those provided by CCC – makes references to various DLLs and object libraries that are part of Windows, MS-Office or other applications (such as DMS programs). These References allow the macros in the template to use certain commands and access certain objects made available by those DLLs or object libraries. If one of the DLL’s or object libraries is missing, or possibly if it has been updated with a new version, the Reference to it is “broken.”

What to do:

First, identify which template contains the broken reference. A compilation error should identify the module in which the broken Reference occurs:

“Compilation error in module modStyles”

If the name of the module begins with “mod” or “frm” (e.g., modStyles, frmLetter), it almost surely occurs in one of the templates supplied by CCC. If not, it almost surely occurs in a template supplied by another vendor.

If the error appears to be in a CCC module, start by asking CCC for help. If the error occurs in a non-CCC template, you may need to contact the product vendor for assistance.

To correct a missing or obsolete Reference, someone must open the macro template that generated the error, go into VBA, call up the list of References, and correct the missing or obsolete Reference by de selecting the bad Reference and selecting the appropriate replacement. CCC must do this in any CCC templates.