I want to dynamically embed an Excel document into a slide so users can click on the OLE object icon and view the Excel document. I’m adding an OLE object by using AddOleObjectFrame. When I open the saved pptx file it shows a box with red “Embeded OLE Object” text. When I try to click the object I get an error: The server application, source file, or item can’t be found…
OK… I got the OleObject working. When I double click it, it now opens the embedded Excel Document.
I now have the image filled in, but I’m stilling getting “Embedded OLE Object” in red in the frame.
Hi Marcellus,
Thank your for inquiring Aspose.Slides.
I have observed the requirements shared by you and like to share that whenever you add an ole object frame to slide, it gets added in disabled form. The red message show “Embedded Object” highlights that Ole object has been added but it is in not activated. One need to active the Ole frame to show the Ole object content. There are two approaches that one can use in this regard. First is to use third party macros that will look for embedded ole objects inside presentation and activate the Ole frames whenever presentation is opened. You may please follow this documentation link for your kind reference in this regard to have an idea. But you need to look for available options for use of third party to the job for you on your end in this regard.
Many Thanks,