+ Reply to Thread
Results 1 to 5 of 5

Displaying full values combobox - userform

  1. #1
    Forum Contributor
    Join Date
    01-26-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    162

    Displaying full values combobox - userform

    Hi,

    I am trying to figure out how to display more that eight digits on the left side of my combobox in the userform. When I click on the combo box I can see PayID (8digits are displayed) and EmployeeName next to it which is showing in full. How can I make the PayID to be shown in full too? I have provided we a code that I am using in the cbox.


    Please Login or Register  to view this content.
    Can someone help me please?

    Many Thnaks
    Last edited by greekboyuk; 03-18-2011 at 09:14 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Displaying full values combobox - userform

    Try changing the column width values.

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    01-26-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    162

    Re: Displaying full values combobox - userform

    Hi Andy,

    Thank you for quick response it does work thank you very much. Do you mind helping me insted of displaying 1 value to display the second instead?
    For example when I click on the cbox no with your help, I can see full PayID and Employee Name, once I select that, the PayID is displayed. How I could display Employee number instead so it can hep the user to know which employee they have selected (they may forget PayID)

    Many Thanks

    greekboyuk

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Displaying full values combobox - userform

    The combobox control will only display 1 value in the textbox part of the control.

    If you want to display data from the other columns of the selected item you will need to do so using a Label control

  5. #5
    Forum Contributor
    Join Date
    01-26-2010
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    162

    Re: Displaying full values combobox - userform

    Thank you very much Andy, much appreciated.

+ 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