Selected listbox

F

Fay

I have a form with a combo box that limits what is returned in a list box. I
use that to register students for the selected class session. What I want to
do is then close that session once everyone is registered and the class is
done.

I have a close button with the following code
Me.Closed.Value = True
If there are multiple session in the listbox the
 
F

Fay

Sorry I het the wrong button and sent this before I was ready.

I have a form with a combo box that limits what is returned in a list box. I
use that to register students for the selected class session. What I want to
do is then close that session once everyone is registered and the class is
done.

I have a close button with the following code
Me.Closed.Value = True
If there are multiple sessions in the listbox the last one in the list is
closed how do I direct it to the Selected row in the listbox?

Thank you
 
Top