Access and Modify the Display Label of the Linked Ole Object

Possible Usage Scenarios

Microsoft Excel allows you to change the display label of the Ole Object as shown in the following screenshot. You can also access or modify the display label of the Ole object using Aspose.Cells for Python via .NET APIs with the OleObject.Label property.

todo:image_alt_text

Access and Modify the Display Label of the Linked Ole Object

Please see the following sample code, it loads the sample Excel file that contains the Ole Object. The code accesses the Ole Object and changes its Label from Sample APIs to Aspose APIs. Please see the console output given below that shows the effect of the sample code on the sample Excel file for a reference.

Sample Code

Console Output

Ole Object Label - Before: Sample APIs

Ole Object Label - After: Aspose APIs