View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
SK SK is offline
external usenet poster
 
Posts: 9
Default Mail Merge Data Source Issue

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

"SK" wrote:

I want to use an Html file as Data Source for mail merge.
The documentation says :
(http://office.microsoft.com/en-us/wo...875951033.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
tdName/tdtdAddress/tdtdCity/td
/tr
tr
tdN/tdtdA/tdtdC/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.!