Hi team,
I try to embedding a excel file just show a Excel icon instead of a sheet. But I got a red meesage “Embedded Object”. how to change this message picture to the excel icon?
below is my code:
IOleObjectFrame oof = slide.Shapes.AddOleObjectFrame(0, 0, 200, 200, “Excel.Sheet.12”, “c:\a.xlsx”);
oof.ObjectProgId = “Excel.Sheet.12”;
oof.AlternativeText = “Excel.Sheet.12”;
oof.IsObjectIcon = true;
thanks,
Harry