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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you close a form?

Status
Not open for further replies.

SSJpn

Technical User
Oct 7, 2002
259
US
I want my form to close when the 'Exit' command button is pushed. What is the code for this?

Thanks,

SSJpn
 
If you want your userform to go away altogether, put
unload me
in the event handler for the exit button.
If you want your userform to stay in memory but disappear and continue with the macro that showed it, you'd use
me.hide

Rob
[flowerface]
 
Perfect, thats just what i needed.

Thanks!~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top