Hi, Good morning all,

So, simple question : Is it possible to refer to a userform objects like a ListBox from a macro example :

The userform code could be :
Private Sub CommandButton1_Click()
call module1.Test
End Sub
And the macro code would be :
Sub test
If Listbox1.text = "blabla" then
etc...
End Sub