Update ActiveX ComboBox Control

Possible Usage Scenarios

You can read or write the values of ActiveX ComboBox Control using Aspose.Cells for Python via .NET. Please access the ActiveX Control via Shape.active_x_control property and check its type via ActiveXControl.type property, it should return ControlType.COMBO_BOX value and then typecast it into ComboBoxActiveXControl object and read or modify its various properties.

Please download the sample excel file used in the following sample code.

Update ActiveX ComboBox Control

The following screenshot shows the effect of the sample code on the sample excel file. As you can see, the ActiveX ComboBox value has been updated to “This is combo box control”.

todo:image_alt_text

Sample Code

The following sample code updates the value of ActiveX ComboBox Control present inside the sample excel file.