|
Question : How to reset value to " " in userform textbox
|
|
I have looked everywhere and tried everything to clear out the input value in a userform so that the next time the userform comes up the value in the textbox is " " nothing
|
|
Answer : How to reset value to " " in userform textbox
|
|
Hi Jenckes,
Use this....
TextBox1.Value = ""
Or, when closing the form, Unload it. You can call the UnLoad method in the QueryClose event of the form....
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) Unload Me End Sub
Regards,
Wayne
|
|
|
|