General discussion



By cadsabc ·
Every time I open word Microsoft Visual Basic window opens with Compile error in hidden module: Main in it. What can i do to get ri of this problem.


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by chitosunday In reply to Error

macro disabled the file when you open it.

Collapse -

by Konza In reply to Error

Is this when Word opens to a blank document or are you opening a specific file? If you are certain there are no macros or modules that should be running when you start Word, deleting the file usually resolves issues of Word opening improperly.

The path to will be something like this:
C:\Documents and Settings\%USERNAME%\Application Data\Microsoft\Templates\.

Application Data is a hidden folder so you may have to unhide it to navigate to

Once deleted, opening Word will generate a "fresh" instance of and if your problem was corruption in the template, your error should be gone.

The following Microsoft article details different command line switches you can use to troubleshoot problems starting Word:;en-us;210565

Related Discussions

Related Forums