Ducument_Open not working Word 2007

O

ostbil

In Word 2007,
I have a dotm file that includes this type of code under ThisDocument

Private Sub Document_New()
Msgbox ("new")
End Sub

Private Sub Document_Open()
Msgbox ("open")
End Sub

If open the file dotm file as a new docuemnt I get the "New" msgbox. If I
save the as a docm file and open the file again the Open event will not
start. Does anyone know why?
I works fine in the old format.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top