Problem inserting picture via Access 2010 vba into a word document - TechRepublic
Question
May 15, 2012 at 02:26 AM
banterista

Problem inserting picture via Access 2010 vba into a word document

by banterista . Updated 14 years, 1 month ago

I am trying to insert a .jpg into a word document using Access VBA using .Selection.InlineShapes.AddPicture FileName:=”\\SBSERVER\Data\COJAC\DHSig.jpg”, LinkToFile:=False, SaveWithDocument:=True. Whilst this works in a manually setup macro where you insert some text then insert the picture then more text, in vba, the picture overwrites the text already built up in the document and does show the subsequent text. How can I stop this overwrite happening please? Any help would be welcomed.

This discussion is locked

All Comments