+ Reply to Thread
Results 1 to 2 of 2

Assigning a Combo box selection to numerical value in text box

  1. #1
    Registered User
    Join Date
    01-25-2011
    Location
    Wisconsin
    MS-Off Ver
    Excel 2010
    Posts
    7

    Assigning a Combo box selection to numerical value in text box

    I am trying to assign a numerical value to a selection made in a combo box in a userform I have created. When the selection is made, a numerical assigned to the selection would then be shown in the text box next to the combo box on the userform.

    This is what I have so far:

    Please Login or Register  to view this content.
    If the user selects "Pulp and Paper" I want a numberical value (say 15), to show up in a text box next to the selection in the userform.




    I don't have a representative workbook at this point. I am just building a simple userform in which I can have multiple combo boxes that will allow selections, each applying a value to the text box next to it. At the end, the text boxes will be added and this total will be applied back to a cell in one of the worksheets.

    Any suggestions on how I can do this?

    Thanks!!!!
    Westwisco
    Last edited by Westwisco; 02-09-2011 at 05:56 PM.

  2. #2
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: Assigning a Combo box selection to numerical value in text box

    Don't forget to add the code tags around your code in the first post per the forum rules.

    Also attach a representative workbook to give a better idea of what you have going on.
    Life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
    John Wright

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1