Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo Box Value

Status
Not open for further replies.

MURZ

Materials
Jun 23, 2001
20
I have several combo boxes I am using. The data for all boxes is supplied from a table using the “ListFillRange” on the Properties section. The table contains values that range from 10% to 100%. When I click on the combo box, the values are displayed as percentages. However, when I choose the value I am interested in it shows in the box as a decimal. In addition, I have cells that are linked to the combo box which also show it as a decimal rather that a percentage. All cells are set to percentage.

How can I get the combo box and cells to show the number as a percentage rather than a decimal. As a minimum, I would like the combo box to show the value as a percentage rather than a decimal. The linked cell doesn’t really mater since it is used for calculations only and does not appear to the user.
 
Replies continue below

Recommended for you

Once I had a similar problem; however I do not remember the details, but the solution was to put variables (that I got as a consequence of same VBa calculation )into a combo box as TEXT. The decimal point from a VBa calculation steps was preserved and easily turned into the decimal comma separator simply by doing variable=variable*1. Then you can format it as you like.
If you need a working example I should find the codes.
m777182
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor