List box has a selection

indesisiv

Access - What's that?
Local time
Today, 06:53
Joined
Jun 13, 2002
Messages
265
I am sure that this is fairly simple but nothing ever is with a listbox.

I have a cmd button that runs some code but i need it to check to see if there is something selected in the listbox first.

The listbox is set to MultiSelect - None

Thanks for any help

Steve
 
Code:
If IsNull(Me.ListBox) Then
 
Thanks mile

Knew it was something simple that i was missing.
 

Users who are viewing this thread

Back
Top Bottom