Hi,

I have designed a form which has 1 textbox and 1 button.

In one of the VBA module the userform is getting popupped. I have to get the value from text box of the userform to a variable in the module only after the user clicks the button in the userform. Till then the module code should not be executed but the userform should be displayed.

Please help me how to get this problem solved.

Thank you for helping me in advance

Regards,
Sunil TD