"John Mansfield" wrote in message
...
To get back to the worksheet, use this line of code to close the user
form:
Unload Me
For example, if you wanted to close the form with a command button:
Private Sub CommandButton1_Click()
Unload Me
End Sub
Note that this is a command button on the form, the unload must be effected
from the form.
|