Word VBA - Programmatically close modeless form

Hi Experts
Is there a way to programmatically close a modeless form?  I have a modelss form containing context relevant data.  It sits in the corner of the screen whilst the user is working.  If the user runs certain functions, I want the form to either close or perhaps refresh the data using a new source.  Is it possible to do either or both of these things?
Thank you for your help.
Who is Participating?
For closing

Unload UserForm1

or UserForm1.Hide

For new data

UserForm1.TextBox1.Text = "New Text"

MonteDelMarAuthor Commented:
That easy!! I have spent hours looking for a much more complicated way to do it.  :-)  Thanks again, Graham
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.