Hello, all,

I have a listbox "Yval_box" that is usually populated with information. When the userform containing Yval_box opens I have set the 1st item in the listbox to be selected with:

Yval_box.Selected(0) = True
What I want is the above code to run only if items appear in the list box.

Thanks!