![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Location: Ireland
Posts: 107
|
How do u check if no item is selected in a list box? Its just I want to display an error message when it happens. Cheers.
__________________
[Brian] |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Apr 2002
Location: Greenwood, SC
Posts: 677
|
listbox.listindex = -1 tells that the listbox is empty.
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Location: Ireland
Posts: 107
|
Cheers thanks a lot
__________________
[Brian] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|