Fill a combobox preserving characters format

P

phoudha

Hi All,

I am new with VBA for Excel application.
I want fill a combo box with a range of cells containing charaters.
Some of them are subscript others superscript. The problem is, when I
fill out the combo box, the format of the charcters in superscript or
subscript is lost.
How can I preserve the format when I fill th combo box.
Now I am using the follwing code:

For i = 1 To 10 Step 1
ZoneListe_1.AddItem Sheets("Feuil1").Cells(i, 1)
Next
Thanks a lot.
Best.
Defré
 
T

Tim

As far as I know combo/list boxes support plain text only - no formatting
like super/subscript.

Tim


Hi All,

I am new with VBA for Excel application.
I want fill a combo box with a range of cells containing charaters.
Some of them are subscript others superscript. The problem is, when I
fill out the combo box, the format of the charcters in superscript or
subscript is lost.
How can I preserve the format when I fill th combo box.
Now I am using the follwing code:

For i = 1 To 10 Step 1
ZoneListe_1.AddItem Sheets("Feuil1").Cells(i, 1)
Next
Thanks a lot.
Best.
Defré
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top