How do you make a userform open automatically when you open excel?

E

Evan

I created a Userform in VBA, and want it to automatically appear upon opening
the Excel file everytime. How do I do that?
 
J

John

Hi Evan
Paste this in "ThisWorkbook" module.
Private Sub Workbook_Open()
userform1.Show
End Sub
HTH
John
 

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

Top