Turpis
Programmer
- Apr 16, 2002
- 151
I have an application that I build awhile back that uses DAO to retrieve Access data to create documents. I now need to add some pictures into the fray. The database if fine, but I can't seem to get the VBA coding to pull the picture. Here is what I have tried:
With Selection
.TypeText "Thank You,"
.TypeParagraph
.TypeParagraph
.TypeText rsSign("UserName"
.Value
("UserExt"
.Value
.TypeParagraph
.InlineShapes.AddPicture rsSign("UserSignature"
.Value
.HomeKey wdLine
.MoveEnd wdLine, wdExtend
.Font.Name = "Arial"
.Font.Size = 12
.EndKey wdLine
.TypeParagraph
.TypeText rsSign("emailaddress"
.Value
End With
Any suggestions on the proper way to insert that picture would be appriciated (for DAO, I am not rewriting the application). I am pretty sure that I have tried all the methods and properties of the recordset.fields object, but then I am no expert.
Charles
Quality Assurance/Office Developer
Walden's Machine, Inc.
Tulsa, Ok.
With Selection
.TypeText "Thank You,"
.TypeParagraph
.TypeParagraph
.TypeText rsSign("UserName"
("UserExt"
.TypeParagraph
.InlineShapes.AddPicture rsSign("UserSignature"
.HomeKey wdLine
.MoveEnd wdLine, wdExtend
.Font.Name = "Arial"
.Font.Size = 12
.EndKey wdLine
.TypeParagraph
.TypeText rsSign("emailaddress"
End With
Any suggestions on the proper way to insert that picture would be appriciated (for DAO, I am not rewriting the application). I am pretty sure that I have tried all the methods and properties of the recordset.fields object, but then I am no expert.
Charles
Quality Assurance/Office Developer
Walden's Machine, Inc.
Tulsa, Ok.