All,
I'm struggling with passing input variables from a userform to a module/sub. I've searched the form, but can't find a matching example.
E.g.
Form 1: Two input fields named TextBoxA and TextBoxB and 1 Submit button. Module 1: some code in which I would like to use the input variables of TextBoxA and TextBoxB
Code in userform:
Private Sub CommandButton1_Click()
pass = myuserform.TextBoxA
End Sub
Who can point me in the right direction. Much appreciated.