Question : Getting Values from Userform (VBA)

Hello,

I am trying to reference TextBox1 in a userform called UTH_1

How do I reference this and get the value of UTH_1.TextBox1 ?

Thanks,

GISVPN

Answer : Getting Values from Userform (VBA)

You would refer to any item on a userform, exactly as you have in your question.

userform.item

if you want to assign the value of the textbox to a variable.

SomeVariable = UTH_1.TextBox1

Dave

Random Solutions  
 
programming4us programming4us