I make a selection in a Userform.Listbox with data coming form the Textbox in a Userform
Can I pass a variable to the Textbox Sub ..._Change event
ie. Sub TextBx_Change(ByRef ....)
I don't want to use a Public variable
Thanks
Can you use the TextBox Tag Property to store the data ?
What is the data type of the array?
A delimited string and an array are pretty much the same information.
That would be a long delimited string. A module wide variable would be the easiest way to pass it. What is your concern about using a public variable?
Can't you use module level variables instead of Public global variables - Each variable declared at the top of each userform module so you can use them throughout the entire userform lifetime and scope.