hello
Im using the code sample from the microsoft website.
Ive added the reference Microsoft Visual Basic for Applications Extensibility 5.3″ library
http://support.microsoft.com/kb/308340
when I run the code the Microsoft Visual Basic error displays
run time error ‘6065
Programmatic access to Visual basic Project is not trusted.
The reason I need the code is
major re-architecture has been done to the Word templates. making some Word templates retired and therefore no longer exist.
Some documents have been created with manual references added to the retired templates. On open of these documents the error message dispalys “Word cannont open this document template C:Program Files )
I need to write code on document open to validate references and & remove retired references
many thanks
diana