Im trying to pass a textbox name from one module to another and then assign a value to that textbox.
Here's what I was trying.
Sub MyTest(txt as Textbox)
txt.value = 1
end sub
sub Try()
MyTest userform1.textbox1
end sub
Can someone point me in the correct direction?