+ Reply to Thread
Results 1 to 3 of 3

clear listbox1

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    clear listbox1

    hi
    have been trying to clear listbox1 items , have done this before #[with me.listbox.clear] and[listbox1.clear], have got program that has got these and works but copy it into another one and it does not seem to work however i enter it, any help be good thanks
    enter 22 in userform, click search,click clear still in listbox , will be something daft prob
    cheers colin
    Attached Files Attached Files
    Last edited by cfinch100; 12-28-2012 at 10:01 AM.

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: clear listbox1

    try this

        With ListBox1
            .RowSource = ""
            .Clear
        End With
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    Re: clear listbox1

    hi
    works great many thanks
    cheers colin

+ 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