S
SB
Hi,
I need to create a Word document using data from an Access query. I can do
this successfully using a mail merge. One of the fields is the UNC path to an
image. I would like to insert the image into the document each time a new
record is read. For example
<<Field1>> <<Field2>> <<Field6 - Pathname>>
<<Field3>> <<Field4>>
<<Field5>>
---------------------------------------------------------------
Field6 - Pathname is replaced by the actual image. Can the image also be
resized?
I do this in access using
If IsNull(Me.Expr1) Or IsEmpty(Me.Expr1) Then
Me.Image30.Picture = "\\server\path\noimage.jpg"
Else
Image30.Picture = Me.Expr1
End If
Where Expr1 is the path.
Can I do similar in Word VBA? My end user requires the output in Word so
they can further format it before incorporating it into a book.
Have I confused everyone yet?
thanks
Scott
I need to create a Word document using data from an Access query. I can do
this successfully using a mail merge. One of the fields is the UNC path to an
image. I would like to insert the image into the document each time a new
record is read. For example
<<Field1>> <<Field2>> <<Field6 - Pathname>>
<<Field3>> <<Field4>>
<<Field5>>
---------------------------------------------------------------
Field6 - Pathname is replaced by the actual image. Can the image also be
resized?
I do this in access using
If IsNull(Me.Expr1) Or IsEmpty(Me.Expr1) Then
Me.Image30.Picture = "\\server\path\noimage.jpg"
Else
Image30.Picture = Me.Expr1
End If
Where Expr1 is the path.
Can I do similar in Word VBA? My end user requires the output in Word so
they can further format it before incorporating it into a book.
Have I confused everyone yet?
thanks
Scott