S
Scott Pendleton
The sample code I found for inserting a JPEG into a document is as follows:
Dim oWord as New Word.Application
Dim oDoc as New Word.Document
Dim oRange as Word.Range
Set oRange = oDoc.Content
oDoc.InlineShapse.AddOLEObject
DisplayAsIcon:=False,Filename:="C:\MyPhoto.jpg",Range:=oRange
Is there an alternative to InlineShape.OLEObject? Is there a "best
practices" way?
Thanks,
Scott
Dim oWord as New Word.Application
Dim oDoc as New Word.Document
Dim oRange as Word.Range
Set oRange = oDoc.Content
oDoc.InlineShapse.AddOLEObject
DisplayAsIcon:=False,Filename:="C:\MyPhoto.jpg",Range:=oRange
Is there an alternative to InlineShape.OLEObject? Is there a "best
practices" way?
Thanks,
Scott