Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Combo Box Value

Combo Box Value

Combo Box Value

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.

RE: Combo Box Value

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close