1) Open the visual basic editor (ALT + F11)
2) in the right pane you will see your vBA projects
3) Select your VBA project (for exampe VBAProject (Book1)) from the right
side pane and right click
4) Select Insert -> Userform
5) Built your userform
6) To have the userform displayed each time the workbook is opened goto the
Microfsoft Excel Object called "ThisWorkbook"
7) in the codepane select Workbook (from the upper left corner) and select
Open from the upper right combobox
8) put the following code there:
Private Sub Workbook_Open()
UserForm1.Show
End Sub
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.