1) right click on the tab for the sheet that you want to have the actio
apply to
2) click "View Code"
3) this should pop you into the vbe in a macro called "Private Su
Worksheet_SelectionChange"
4) replace that macro with this: (replace "UserForm1" with the name o
your Userform. This assumes that you have created the Userform in th
VBE, rather than a custom dialog box, like you used to do in Excel 95)
'begin code
Private Sub Worksheet_Activate()
UserForm1.Show
End Sub
'end code
5) save, close editor
now whenever anyone activates the worksheet, the userform will pop up
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.