+ Reply to Thread
Results 1 to 3 of 3

Need to Refresh Label in Userform after choosing an Item in a Combobox

  1. #1
    Registered User
    Join Date
    09-18-2013
    Location
    Illinois, USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Need to Refresh Label in Userform after choosing an Item in a Combobox

    Hello, I am new to VBA but am trying to create a userform that will guide people through data entry.
    The current Userform has 2 comboboxes and 2 Labels, but one label is contextual.

    The second combobox gives appropriate options depending on what the user selected in the first. My problem is I want the contextual label to update automatically (without having to click it) depending on what the user selected in the first combobox.
    I think it might be a repaint function, but thus far I haven't been able to get it to work.

    I greatly appreciate any help! Thank you!

    Please Login or Register  to view this content.

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

    Re: Need to Refresh Label in Userform after choosing an Item in a Combobox

    Please Login or Register  to view this content.
    Update the label in the combo event.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    09-18-2013
    Location
    Illinois, USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Need to Refresh Label in Userform after choosing an Item in a Combobox

    Simple, yet brilliant.

    Thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Change Userform Label based on ComboBox Selection
    By rbyrd023 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-02-2014, 09:25 AM
  2. Refresh Label in Userform Vba
    By jdasp49 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-21-2013, 02:27 PM
  3. Displaying label from a userform combobox selection
    By pjrpower in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-22-2012, 08:04 AM
  4. [SOLVED] If Userform ListBox contains specific item then change label background colour.
    By jamieswift1977 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 09-06-2012, 06:38 AM
  5. [SOLVED] Refresh Userform ComboBox Data Source
    By lday75 in forum Excel General
    Replies: 1
    Last Post: 08-23-2012, 01:23 PM

Tags for this Thread

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