View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Patrick Molloy[_4_] Patrick Molloy[_4_] is offline
external usenet poster
 
Posts: 103
Default Close Form with VBA

Unload userformname

or

on the form's code page
Unload Me

--
Patrick Molloy
Microsoft Excel MVP
----------------------------------
"William C. Smith" <wcsmithx*xieee.org wrote in message
.. .
Is there a VBA command that will close a userform, the equivalent of the
user clicking the close button on the form title line?