Accessing merge fields Word doc via VB.Net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Given the following merge fields defined on a word document how can I acccess
them via a Word document object in VB.NET? The data I want to subsititute is
in a dataset.

{MERGEFIELD "FirstName"} for example I would place row.FirstName in this
field

{MERGEFIELD "Picture1"} Here I want to place a picture loaded from a path
for example contained in row.PhotoPath

Any help would be appreciated.

WR
 
Back
Top