Link to home
Start Free TrialLog in
Avatar of tsengt
tsengt

asked on

visual basic errors when opening word

When I open any word document, it seem that visual basic opens and tells me complier error: ambigious name detected.  What is going on.  This never happened before and the document don't have a macro in them as far as I know.  I ran a virus scan but didn't find anything so what is going on?  How do I disable it
Avatar of nfroio
nfroio
Flag of United States of America image

This is closet MSKB article that I could find for a Compiler Error: Ambiguous Name Detected.

http://support.microsoft.com/support/kb/articles/Q129/6/36.asp

Hope that it will help.

nfroio
Hi Tsengt,

This is the error message: "Ambiguous Name Detected: tmpdde ", isn't it ?

This is because for some reason Word wants to create a new Tmpdde macro where there is already one that exists. To solve this, try any of both methods described beneath:

RESOLUTION
To resolve this problem, use one of the following methods.

Method 1: Delete the Tmpdde Macro
You may be able to resolve this problem if you delete the Tmpdde macro from the Microsoft Word global template (Normal.dot) file. To do this, use the following steps:
Start Microsoft Word. On the Tools menu, point to Macro, and then click Macros.


Select any macro with the name Tmpdde and click Delete. Click Yes to confirm that you want to delete the macro.


Click Cancel. Close Microsoft Word.


Close all Microsoft Office programs and mail or fax programs. Restart the programs and re-send the fax.


Method 2: Rename Normal.dot
Search for all files named Normal.dot and rename them. To do this, follow these steps:
Close Word and all MAPI-aware programs, such as mail, fax, or Office programs.


On the Microsoft Windows taskbar, click Start, point to Find, and then click Files Or Folders.

In the Named box, type Normal.dot.

In the Look In box, select your local hard disk (or an alternate user template location if you are running Word from a network server).

Click Find Now to search for the file.

For each occurrence of Normal.dot that appears in the Find dialog box, right-click the file. Click Rename on the shortcut menu. Give the file a new name, such as OldNormal.dot or Normal-1.dot.

NOTE: Renaming the file Normal.dot removes any user-defined styles, AutoText, Toolbars, and Macro Project Items that have been saved in that template. You can use the Organizer to copy those items into the new Normal.dot that is automatically created.

Good Luck
Calacuccia
A little slow due to server problems ;-(
But I see NFroio points to another article...

Here's the link to the article I found and already used on previous occasions. Seems to work very well, if the name is 'Tmpdde'.
http://support.microsoft.com/support/kb/articles/Q165/8/60.ASP

Calacuccia
Avatar of tsengt
tsengt

ASKER

I updated my virus files and re-scanned my computer and found a virus.  The problem has been solved.  Thanks for everyone's comments.
Avatar of tsengt

ASKER

This question has a deletion request Pending
This question no longer is pending deletion
Just out of curiosity, What was the Virus ? (You can redo the deletion request afterwards)
Glad that you were able to sort it out.

:-)(

nfroio
ASKER CERTIFIED SOLUTION
Avatar of tsengt
tsengt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for info Tsengt.

I will ask community support to accept (https://www.experts-exchange.com/jsp/qShow.jsp?ta=commspt&qid=10331086 ) your own comment as an answer and REDUCE the question value to 0 points. That way, this info will be stored in the database.

Calacuccia
Hi everyone.

I am moving this question to the PAQ and refunding the points. I hope it will save someone some grief when they have a similar problem :)

darinw
Customer Service