Hi,
I have a code which is activated by a button click.
After several seconds of run, I show a form containing two textboxes named TB1 and TB2.
How can I store the values that the user enters in TB1 and TB2 into two variables named respectively TB1val and TB2val for example, after clicking an 'OK' button on the form?
Clicking the 'OK' button would also close the form and resume my code with my variables filled
I would like these parameters to remainstored until the end of the macro run
I know how to do that when there is only one value using an inputbox but with more, how can I do that?
thank you for your help.
Best,
Shiro
I have a code which is activated by a button click.
After several seconds of run, I show a form containing two textboxes named TB1 and TB2.
How can I store the values that the user enters in TB1 and TB2 into two variables named respectively TB1val and TB2val for example, after clicking an 'OK' button on the form?
Clicking the 'OK' button would also close the form and resume my code with my variables filled
I would like these parameters to remainstored until the end of the macro run
I know how to do that when there is only one value using an inputbox but with more, how can I do that?
thank you for your help.
Best,
Shiro