LOL I commented out the AutoClose macro because I saw one similar that PDF had installed. I also ran the test case for the PDFmaker and you are correct the error showed up.


Originally Posted by Howard Kaikow

This duplicate toolbar problem appears to have been caused by some design change made in Word 2000 that persists thru Word 2002 and Word 2003
As I posted earlier this may be MS's way of preventing the spread of viruses. I do know that in Excel you cannot add a macro to a newly created sheet (via a macro/code) until it is saved, as MD as suggested, and johnske has suggested it is the same for Word. The thing is this all can be done in the VBIDE with no problem by "hand", so I feel that, taking it a step further, the problems involed with the commandbars is an intentional henderace to convince coders to supply templates with the commandbars instead of changing the normal.dot.


Why? Because no good coder worth their salt will release something that they know is wrong.


The error occurs when Word is shutdown after all docs are closed.