Hi,
I have a question regarding how to declare variable.
I have a module with 5 different macro for userform.
All the 5 macros refer to textbox1, textbox2, so on until textbox10.
In every macro of that module, i declare the textbox to a variable:
strTb1 = me.textbox1
...
strTb10 = me.textbox10
So in every macro, i have to redeclare the variable?
Is there anyway to declare 1 time those variable linked to textbox without copying and paste in every single macro of that module?
Thanks.
Bookmarks