Hallo,
This Code
Code:
Private Sub document_contentcontrolonenter(ByVal ContentControl As ContentControl)
MsgBox "Hallo, I am " & ContentControl.Tag
End Sub
works within the template where it is stored.
When I click within the document the check box with the Tag "Martin"
the message comes with "Hallo, I am Martin"
Please see attached file.
The template is saved in
AppData\Roaming\Microsoft\Word\STARTUP
Any macros in any dotm-documents is this directory work with all documents.
This macro does not.
Why is that so?
How can I make it enable for all documents?
Best regards,
Martin