Hi Cameron
Try Tools > Options > Security. Click Macro Security. On the Trusted
Publishers tab, tick "Trust access to Visual Basic Project".
If you have follow-up questions, I suggest you post to one of the Word VBA
newsgroups, such as microsoft.public.word.vba.general.
Hope this helps.
Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
>I have a template with code that needs to connect to a
> database (ADO) and to do this I need to add the object
[quoted text clipped - 12 lines]
> creates the documents from the template?
> -Cameron Sutherland