Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reset A User Form in Excel 1

Status
Not open for further replies.

roadstain

IS-IT--Management
Mar 7, 2002
33
US
How do I reset or clear out all the values entered in a User Form so that they go back to default - or blank. I am sure there is an easy way to do this.

 
I forgot to add - doing this without unloading then reloading the form.

Thanks.
 
For each optionbutton in yourform.optionbuttons
optionbutton.value = 0 (or xloff)
next
For each dropdown in yourform.dropdowns
dropdown.texyt = ""
next

etc etc
HTH
Geoff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top