+ Reply to Thread
Results 1 to 4 of 4

Clear dependent activex comboboxes

  1. #1
    Registered User
    Join Date
    06-30-2016
    Location
    USA
    MS-Off Ver
    2013
    Posts
    3

    Clear dependent activex comboboxes

    I have a sheet with multiple activex comboboxes, some which are dependent on others. I have entered the following code to make those dependent comboboxes work, which is working fine for me.

    Please Login or Register  to view this content.
    Also, I would like to add a button that would clear or reset this form. Which I have the following code for that, which did work until I added the previous code to make the dependent comboboxes work.

    Please Login or Register  to view this content.
    I receive a run-time error 381:
    Could not get the List property. Invalid property array index.

    RunTime381.png
    VBA error.png

  2. #2
    Registered User
    Join Date
    06-30-2016
    Location
    USA
    MS-Off Ver
    2013
    Posts
    3

    Re: Clear dependent activex comboboxes

    So maybe if I provide some more information that will help?

    My end plan is to create this form with multiple dependent activex comboboxes. I would like to have 3 buttons on the form: Save and close, Save and clear & Clear form.
    So, the only thing I need help with is ensuring correct VBA code for my dependent activex comboboxes and code to clear the form for the user to start over.
    Attached Files Attached Files

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Clear dependent activex comboboxes

    Try this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  4. #4
    Registered User
    Join Date
    06-30-2016
    Location
    USA
    MS-Off Ver
    2013
    Posts
    3

    Re: Clear dependent activex comboboxes

    Thank you so much, that worked!

+ 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. [SOLVED] Vba to clear and then populate activex comboboxes
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-31-2015, 04:07 PM
  2. [SOLVED] VBA help need for linking three ActiveX Control ComboBoxes
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2014, 10:22 PM
  3. Indexing Through ACTIVEX Comboboxes
    By Hemimud in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-13-2012, 11:27 AM
  4. [SOLVED] Dependent comboboxes
    By ObiWanBaloney in forum Excel General
    Replies: 6
    Last Post: 06-04-2012, 08:40 PM
  5. Linking two ActiveX comboboxes across different tabs
    By sgillette01 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-08-2011, 10:08 AM
  6. Linking two ActiveX Drop-Down ComboBoxes
    By Madic in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-02-2011, 02:42 AM
  7. dependent comboboxes
    By humboldtguy in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-14-2010, 10:40 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