Hello,

I have ten multiselect listboxes on a userform. Is there a way to have code run if anything is selected in any of the listboxes without having to create private subs for each listbox?

I am trying to avoid:

Private Sub listbox1_change()
code...
End Sub

Private Sub listbox2_change()
code...
End Sub

...

Private Sub listbox10_change()
code...
End Sub


and so forth .