ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   show userform when response = yes (https://www.excelbanter.com/excel-programming/373076-show-userform-when-response-%3D-yes.html)

musa.biralo

show userform when response = yes
 
Hi, i have userform in a module and the userform contains textbox and
commmand box.

If (Not IsNumeric(TextBox1.Value)) Then

response = MsgBox("Please provide acceptable Number.", vbOKCancel,
"Wrong value!!!")
If response = vbOK Then
' Load UserForm1
Else
End
End If
End If

Problem:
i want to display the userfom1 until numeric value in textbox. After
clicking yes, userform is not showing up. (this code runs when command
button of userform is clicked)

load userfor1 or userform1.show are not working for some reason..
commandbutton1_clik gives infinite loop when placed at true condition
of response.

Please help

musa.biralo



All times are GMT +1. The time now is 10:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com