>Hi,
>Can you recommend any books/resources for VBA programming of Word? I need to do a mail-merge and am not quite sure how to do it. If the user tells me the name of the document, can I query the document to find out what fields it expects, etc.?
>TIA,
Have you been able to do this? There is an MS knowledge base article ID: Q155751 that shows you how do what you are asking. Unfortunately, it uses the old foxpro files ODBC driver, which is no longer supported. It still works on most of my users machines, but some are getting errors. MS says to use the new ODBC driver, but I have not been able to find examples using the new visual foxpro odbc driver, have you? I stayed away from the mailmerge object in VSS 6, because it requires Word 97 and a service pack to be installed. I don't think ANY of my users have installed a service pack for word!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement