View Single Post
 
Old 03-20-2017, 07:16 AM
dwirony dwirony is offline Windows 7 64bit Office 2003
Advanced Beginner
 
Join Date: Oct 2016
Posts: 49
dwirony will become famous soon enough
Default

Try this instead:

Code:
Sub InsertPicture()
myperson = "john_doe"
myfile = "g:\office\files\" + myperson + ".bmp"
Selection.InlineShapes.AddPicture FileName:= _
        myfile, LinkToFile:=False, _
        SaveWithDocument:=True

End Sub
Although this may lose your wrap format. Is that something you need?
Reply With Quote