+ Reply to Thread
Results 1 to 2 of 2

how to write coding can make the browse button can select multiple choices

  1. #1
    Registered User
    Join Date
    04-23-2008
    Posts
    48

    how to write coding can make the browse button can select multiple choices

    i facing a problem here. hope some1 can help me.
    when user click a browse(add_button) button, user can select more than 1 selection, then it will show to the listbox2 there. so that user no need to browse so many times to select the file to add to the listbox2 there.
    besides, the listbox2 only show the file name but don want show the whole path. i only can write show the whole path.

    hope some1 really can help me. Below is my coding. the file i select only r the excel file.
    Please Login or Register  to view this content.
    Last edited by royUK; 05-22-2008 at 06:20 AM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello ccs_1981,

    The ListBox can hold hold more than one column of data. The ListBox also has the feature for displaying which column you want the user to see and the ability to return a different column (value) when the user clicks on an item.

    The attached workbook uses this feature with the code you provided. The ListBox now shows only the file name, but when the user selects that file name the ListBox value returns the full path and file name.

    UserForm Code
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross
    Attached Files Attached Files

+ 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