Clayton
If you find the template within the IDE (Alt-F11) then double-click on
'This Document' in the project tree to the left.
Then look at the editor pane and you will see two drop down boxes; the
fist one contains the list of all the objects, in this case it will be
'Document' and the other one the events associated with that object.
Make sure that 'Document' is selected in the left hand one and then look
for 'Open' in the right hand one.
The IDE ought to create a sub looking something like:
Private sub Document_Open()
End Sub
And that is where you place your code.
Hope that this helps.
Malc
www.dragondrop.com