If there are no rows in a listbox then Listbox1.ListCount = 0.

Best,

Jack


On Sep 28, 2006, at 7:29 PM, Brian Heibert wrote:

How can I tell if there are no rows in a listbox?
so if there are I won't execute this line of code

  Window1.urlsv.RemoveRow urlsv.listindex


instead I would do this

MSGBOX "No row to remove."

Brian
_______________________________________________

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to