How to change fill color of ComboBox (Not Activex Control)

Hello Team,
I am wondering on how we can change the background color of ComboBox drop down?

I am using nor mal combobox and not the activex control

Can you please help?

Regards
Mukul

Could you please provide more information about the specific programming language and Aspose product you are using? This will help us provide a more accurate answer.

I am using Aspose Cells for Java

@mukulpurohit,

As per my knowledge, in MS Excel, the ComboBox form control does not allow you to change its fill color or background color. The customization options for these controls are quite limited. Please check it in MS Excel and correct me if I am wrong. Since Aspose.Cells follows MS Excel standards and specifications when using/implementing different features, this is not supported/allowed. You may try some workarounds.
e.g.,

  • Use a cell background color. You may place the ComboBox over a cell and change the cell’s background color. This doesn’t change the ComboBox’s fill color itself but can give the appearance of a different background if placed appropriately.

If you still think you can accomplish the task (change fill color of the combo box (form control) in MS Excel manually, let us know with a sample Excel file (please zip it prior to attaching it here). We will check on how to do it via Aspose.Cells API.