Is it OK if i pass some value to texfield.text or label.text and then reuse it after some steps, or is it better to dim new variable to hold value and the pass it to textfield?
it’s ok to use only the textfield.text.
just remember the user can change it.
Yes I’m aware of that. The textfield is disabled so it is used only for display purpose. I was only worried that such use can cause some problems.
You should try to separate your code from the interface as much as possible.
Grab the value from the interface and store it in a variable.
Among other things, this will help you in the future if you decide you need to thread this operation.