close form code

  • Thread starter Thread starter tkaplan
  • Start date Start date
T

tkaplan

what code can i use to close a form?

I have a macro that opens a form. when i enter data into the form then
hit enter, code runs. when the code finishes running, i want the form
to close.
i assume i would put this as the last line of the code after i hit
enter. but what would the code be?
 
You have a reply to your other post that, by chance, closes a userform.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top