I have a label object called Lb1. and a sub:
Private Sub Lb1_Click()
call function(Lb1)
End Sub
But I want to use this function in all other click objects, with a variable as an argument, a variable that should point to the clicked object itself. I dont want to change the argument manually for every click object. Is there a method in VBA, to identify the clicked object and return the object?
Thank you very much!