+ Reply to Thread
Results 1 to 2 of 2

[USERFORM] Check if the first item in listbox is null.

  1. #1
    Forum Contributor
    Join Date
    03-06-2020
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    113

    [USERFORM] Check if the first item in listbox is null.

    I am populating my listbox as i type in textbox. I want to insert a line of code such that if listbox is empty make it invisible.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-06-2020
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    113

    Re: [USERFORM] Check if the first item in listbox is null.

    Something like this . if 1st item in listbox is nullstring then listbox.visible=false

+ 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] how to get the next item value based on the selected item in userform listbox ?
    By karmapala in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-27-2019, 05:49 AM
  2. [SOLVED] Userform - Doubleclick on ListBox item
    By FixandFoxi in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-06-2017, 01:47 AM
  3. Show only searched item in listbox only (userform)
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2017, 07:08 AM
  4. Userform listbox - Getting Sheet row of selected item
    By johnny_p in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-14-2015, 05:00 AM
  5. [SOLVED] if anything in listbox select first item, if listbox empty do nothing (listbox in userform
    By mcdermott2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2015, 12:49 PM
  6. Is it possible to pre-select an item in a ListBox in a Userform?
    By bananajelly in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-07-2014, 02:14 PM
  7. Doubleclick an item in listbox (userform)
    By Ray316 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-21-2011, 03:30 PM

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