For the SQL issue, see the following Knowledge Base article:
"Opening This Will Run the Following SQL Command" Message When You Open a
Word Document - 825765 at:
http://support.microsoft.com?kbid=825765
I am not sure about your error message though. If you click on debug when
you get the error message, what line of your code is highlighted?
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
"afswa" wrote in message
...
I have a routine in VBA which assembles a master document from a number of
subdocuments each of which uses a mail-merge to update information before
being copied to the main document. All has been going weell, but now it is
stopping with the above message at around 250 (?256) sub-documents.
Currently
I have a need for this to hold out up to around 350. Any thoughts. Also
Any
way of stopping the SQL confirmation dialogue box from appearing on each
document?