Extracting OLE Objects from Worksheet

Possible Usage Scenarios

Aspose.Cells allows you to extract all types of OLE objects from the worksheet. Please use Worksheet->GetOleObjects() method to access all the OLE objects inside the worksheet. Each OLE object has ProgID and ObjectData properties that can help you identify the type of OLE object and extract it successfully.

Extracting OLE Objects from Worksheet

The following sample code loads the sample Excel file which has three OLE objects. The code identifies the types of OLE objects and extracts them one by one as the following files.

Sample Code