Private Sub ListBox1_Click()
Set bx = ActiveSheet.OLEObjects("Listbox1")
Call CommonBox(bx)
End Sub
Private Sub ListBox2_Click()
Set bx = ActiveSheet.OLEObjects("Listbox2")
Call CommonBox(bx)
End Sub
Sub CommonBox(bx)
'enter code here
End Sub
--
joel
------------------------------------------------------------------------
joel's Profile:
http://www.thecodecage.com/forumz/member.php?userid=229
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=148748