autorun userform from worksheet

P

paradise

how do i write a code which allows me to autorun my userform1 from Worksheet1?
thanks:)
 
P

papou

Paste this into your sheets'code (right-click on sheet tab, view code)
Private Sub Worksheet_Activate()
UserForm1.Show
End Sub
Regards
Pascal
 

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