Word VBA Document_Open or AutoOpen on template
Posted on 2011-09-13
I have a template that is in the set up to load in the word-addins folder, I want to use the docment_open (or autoopen) to get the active document name when ever a word document is opened
I have the code
Public Sub Document_Open()
or Module AutoOpen.
Public Sub Main()
Both events fire when I open the document template within the add-in folder but dont run when I open any other document, any ideas?