E
Ed from AZ
I can paste in a copied Excel file as an icon using:
rng.PasteSpecial IconIndex:=1, Link:=False, _
Placement:=wdInLine, DisplayAsIcon:=True, _
IconFileName:="C:\Documents and Settings\All Users\xlicons.exe", _
IconLabel:="MyFile"
What method do I use if I don't want to copy the file, but simply
provide the file path to the code and have it inserted? Is this
AddOLEObject? InsertFile? or something else?
Ed
rng.PasteSpecial IconIndex:=1, Link:=False, _
Placement:=wdInLine, DisplayAsIcon:=True, _
IconFileName:="C:\Documents and Settings\All Users\xlicons.exe", _
IconLabel:="MyFile"
What method do I use if I don't want to copy the file, but simply
provide the file path to the code and have it inserted? Is this
AddOLEObject? InsertFile? or something else?
Ed