+ Reply to Thread
Results 1 to 2 of 2

Userform Multi-Select Listbox Selection Condition to unhide Frame and controls

  1. #1
    Forum Contributor
    Join Date
    05-12-2009
    Location
    Hendersonville, TN
    MS-Off Ver
    Excel 2010
    Posts
    113

    Userform Multi-Select Listbox Selection Condition to unhide Frame and controls

    Hello Everyone,

    I am working on a userform with a multi-select listbox (ListBox2) which is populated from a named range (item index is 0-19) . I would like, on exiting the listbox, for the selections to be checked that if any items in index position 4 to 16 are marked, to unhide a Frame with some other controls (Frame_Muscles) . If index 4 to 16 is not chosen but something else is, the other listbox would remain hidden. I have been looking around without much success. Any help is appreciated




    Thank you,

    Patrick

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Userform Multi-Select Listbox Selection Condition to unhide Frame and controls

    Some thing like this should work. Perhaps in the ListBox2_AfterUpdate event.

    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. 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. [SOLVED] Loop through userform frame controls
    By c00ly81 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-12-2016, 04:38 AM
  2. [SOLVED] Looping through controls by frame on userform (frame within a frame)
    By njs27 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-27-2015, 10:21 AM
  3. [SOLVED] Unhide 2nd Listbox when condition is met in the 1st multi-select listbox
    By pjbassdc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-18-2015, 09:58 AM
  4. [SOLVED] Clear UserForm Multi Select ListBox
    By jaslake in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-20-2014, 12:19 AM
  5. [SOLVED] userform Multi select listbox - add contents to list
    By tbar05 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 03-25-2013, 10:25 PM
  6. Multi select Listbox Items selection based on other Listbox item selection.
    By srinivassathi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-20-2011, 05:53 AM
  7. Creating Userform Controls on Frame
    By David Myle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-14-2005, 11:06 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