+ Reply to Thread
Results 1 to 3 of 3

userform combobox remove a certain item

  1. #1
    Registered User
    Join Date
    10-25-2013
    Location
    canada
    MS-Off Ver
    Excel 2007
    Posts
    79

    userform combobox remove a certain item

    hello again. I am looking for some help with comboboxes and removing items from the list.

    so what i have is a userform that i will call from an activeworkbook. when i initialize the form the activeworkbook name is populated into a textbox. i have a combobox with a list of workbook names including the activeworkbook name. i am hoping there is a way to find the activeworkbook name in the combobox list and remove it. the list will not always be in the same order so the activeworkbook name will not always be in the same position in the list

    should look something like this

    textbox activeworkbook.name combobox name
    name
    name
    name
    activeworkbook.name ** this is what i want removed from the list

    thanks

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: userform combobox remove a certain item

    Step back a bit.

    How did the active workbook name get into the combobox?
    did you use additem?

    If so

    Please Login or Register  to view this content.

    If you read a list from the workbook

    them use find or match to find the name in that list, that will tell you where in the combo box to look.

    Failing that *Untested Code*

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    10-25-2013
    Location
    canada
    MS-Off Ver
    Excel 2007
    Posts
    79

    Re: userform combobox remove a certain item

    well im not sure if your code will work but i solved the issue another way. i just went back to when i filled the combobox list and excluded the active workbook name from being entered in the first place.

    thank you for the help

+ 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] Remove current item on combobox
    By MarmaladeLover in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-29-2014, 09:08 AM
  2. [SOLVED] How to recall last selected item in a userform combobox?
    By thedefense in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-06-2014, 10:09 AM
  3. [SOLVED] Need to Refresh Label in Userform after choosing an Item in a Combobox
    By sdemps in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-18-2013, 11:06 AM
  4. Determine Selected Item in a (Userform’s) ComboBox
    By StevenM in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-07-2012, 09:07 AM
  5. Remove Item in a combobox
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-06-2009, 08:19 AM

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