Mail Merge Data Source Issue

S

SK

I want to use an Html file as Data Source for mail merge.
The documentation says :
(http://office.microsoft.com/en-us/word/HP051875951033.aspx)
You can use an HTMLfile that has a single table. The first row of the table
must contain column names and the other rows must contain data.
I tried using simple table like this:
<html>
<body>
<table>
<tr>
<td>Name</td><td>Address</td><td>City</td>
</tr>
<tr>
<td>N</td><td>A</td><td>C</td>
</tr>
</table>
</body>
</html>

I accessed it though a web URl like : http://localhost/web/test.html
if I give this URL as Data Source, it gives error:
Document name or path is invalid.
But if I browse it, I can see the file intact.

Can somebody please provide a simple sample for this?

Thanks.!
 
S

SK

One more finding.
I found that giving the same Html file as data source works, when the file
is present locally.
It fails to work when a Web Url is given as Data Source.

Thanks
 
P

Peter Jamieson

1. You are right. Word, "out of the box", cannot use http:// or ftp//
URLs as data sources (I do not know why, since Word is quite capable of
opening Word documents at http: or ftp: URLs)

2. Yes, Word can open HTML format data sources. It just cannot do it via
HTTP :-(

http://tips.pjmsn.me.uk
 
S

SK

I am sorry to hear that it does not function.
If I put fiddler, I can watch that it does not issue a GET command, but only
a PROPFIND command.
 

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