Thanks for the feedback Macropod.
I tried to add the function to the Word.dot file - but just get a msgbox with Blank.
Not sure i'm putting the code in properly;
I loaded the .dot document - it came up with the message to say that opening was going to run a command Select * etc etc ...
If I say YES then says Data Source not found; if i say No it opens.
1st tried to just add it into a code module in the .dot file - then Run thru debug...Msgbox says Blank
Then - added a button to the .dot document and put the code on it and selected Exit Design Mode - clicked the button - This time said that it wasn't a merge document.
I've renamed one of the the .dots to a .doc and attached to this message...
Your help is much appreciated
Phil
|