chandrashekar
Well-known Member
- Joined
- Jul 15, 2005
- Messages
- 529
- Office Version
- 365
- Platform
- Windows
Hello,
I am trying insert excel file in word using below code but excel icon is not diplaying.
Could you please help me on this
appWrd.Selection.InlineShapes.AddOLEObject ClassType:="Excel.Sheet.8", FileName:= _
object_path _
, LinkToFile:=False, DisplayAsIcon:=True, IconFileName:= _
"C:\WINDOWS\Installer\{90140000-0011-0000-0000-0000000FF1CE}\xlicons.exe" _
, IconIndex:=1, IconLabel:="Test"
I am trying insert excel file in word using below code but excel icon is not diplaying.
Could you please help me on this
appWrd.Selection.InlineShapes.AddOLEObject ClassType:="Excel.Sheet.8", FileName:= _
object_path _
, LinkToFile:=False, DisplayAsIcon:=True, IconFileName:= _
"C:\WINDOWS\Installer\{90140000-0011-0000-0000-0000000FF1CE}\xlicons.exe" _
, IconIndex:=1, IconLabel:="Test"