Discussion Locked

Error

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

cadabc

2 replies

by konza

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 Normal.dot usually resolves issues of Word opening improperly.

The path to Normal.dot 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 Normal.dot.

Once deleted, opening Word will generate a "fresh" instance of Normal.dot 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:

http://support.microsoft.com/?scid=kb;en-us;210565

This discussion is closed to new replies.