+ Reply to Thread
Results 1 to 3 of 3

Help with dropdown boxes and preset selections

  1. #1
    Registered User
    Join Date
    06-27-2006
    Posts
    7

    Question Help with dropdown boxes and preset selections

    My goal is to make a macro that will bring up window A (dropdown list selection) and has, in the window, preset selections on the dropdown list.

    So for example, a dropdown list of 5 selections numbered 1 to 5 (1 being the one at the top, 5 being the one at the bottom), could I have the macro be created to have lets say when the window opens, option 3 in the dropdown list is selected by default?

    This all takes place in the Custom AutoFilter and im trying to have "is greater than" selection on the top box and "is less than" selection on the bottom box.

    Thanks

  2. #2
    Registered User
    Join Date
    06-27-2006
    Posts
    7
    bump |

  3. #3
    Gonzo
    Guest

    Re: Help with dropdown boxes and preset selections

    I'm assuming you use a userform.

    Syntax: object.Selected( index ) [= Boolean]

    For example:
    lstMyCustomList.Selected(2) = True
    -> using index 2 selects the third item

    This what you wanted?

    Keving schreef:

    > bump |
    >
    >
    > --
    > Keving
    > ------------------------------------------------------------------------
    > Keving's Profile: http://www.excelforum.com/member.php...o&userid=35826
    > View this thread: http://www.excelforum.com/showthread...hreadid=559381



+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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