Importing and Appending data from an HTML file to a mail merged worddocument

T

TTurner

I am creating a mail merge word document and would like to append our
company's email signature file to the end of the word document. The
email signature is an HTML file located on the local machine.

Customers will be using a web based application that creates the mail
merged document for them and then automatically emails the document to
a third party. We are trying to automate the import of the signature
HTML file into word for the customer using the program at the time.
Therefore pulling their signature file from their windows profile on
the PC.

I have been trying to get the following to work but have not had any
luck. Does anyone have any ideas of how I can get this to work?

{ INCLUDETEXT "C:\\Documents and Settings\tturner\\Application Data\
\Microsoft\\Signatures\\tturner.html" }

Thanks
 
K

Karl E. Peterson

TTurner brought next idea :
I have been trying to get the following to work but have not had any
luck. Does anyone have any ideas of how I can get this to work?

{ INCLUDETEXT "C:\\Documents and Settings\tturner\\Application Data\
\Microsoft\\Signatures\\tturner.html" }

When posting code, it's *critical* that you do a direct cut/paste of
the line that fails. If that is indeed what you did, my suggestion
would be to doublecheck to be sure all your backslashes are doubled up.
That seems to work for me, if I create the field as outlined here:

WD: Using IncludeText and Link Fields with Word
http://support.microsoft.com/kb/212041

If you didn't cut/paste your code directly into your post, I don't know
enough about Word to suggest what else may be fouled up.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top