+ Reply to Thread
Results 1 to 4 of 4

userform comboboxes to automatically update as new entries are put into column.

  1. #1
    Registered User
    Join Date
    08-09-2016
    Location
    birmingha, england
    MS-Off Ver
    2010
    Posts
    25

    userform comboboxes to automatically update as new entries are put into column.

    Hi there,

    I have 5 different combo boxes within a userform interface. Each combobox corresponds to a different column. I have labelled the combo box as 'cbo' followed by their column name:

    cboDocumentSort = column B
    cboDocumentRef = column C
    cboRelatedRef = column D
    cboEngineType = column K
    cboUnitType = column L


    I want these comboboxes within my userform to display the data I have in these columns accordingly:

    1) Some of the data repeats in the columns, so I do not want it to show the same text twice in the combobox.
    2) I would like it to show alphabetically.
    3) If completely new data is inserted into these columns, that the combobox will automatically update its list with the additional values in the columns.


    Thank you.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: userform comboboxes to automatically update as new entries are put into column.

    Do you have a question?

  3. #3
    Registered User
    Join Date
    08-09-2016
    Location
    birmingha, england
    MS-Off Ver
    2010
    Posts
    25

    Re: userform comboboxes to automatically update as new entries are put into column.

    My question is what is the vba coding to do this?

    Would the vba coding be in Userform_Initialize sub?

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: userform comboboxes to automatically update as new entries are put into column.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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. Automatically Update Cell Entries Based on other Sheet
    By civram1982 in forum Excel General
    Replies: 3
    Last Post: 01-07-2016, 06:17 AM
  2. Filter sheet data with ComboBoxes, then Update UserForm with filtered sheet data
    By onmyway in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2015, 05:59 AM
  3. [SOLVED] Automatically update labels in the Userform
    By intex in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2014, 04:53 PM
  4. How to Update userform : listbox1 update automatically
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-05-2014, 11:28 AM
  5. [SOLVED] How to Update value automatically using userform
    By joh46k in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-02-2013, 02:17 AM
  6. Replies: 1
    Last Post: 02-01-2013, 03:38 PM
  7. [SOLVED] Populating UserForm ComboBoxes with sheet entries
    By GalmOne in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-14-2012, 08:26 AM

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