In the ThisWorkbook code module, use something like
Private Sub Workbook_Open()
UserForm1.Show
End Sub
--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC www.cpearson.com
(email on web site)
In the ThisWorkbook code module, use something like
Private Sub Workbook_Open()
UserForm1.Show
End Sub
--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC www.cpearson.com
(email on web site)
Sorry trouble you again. I am getting error msg 424 " Object Required" when
ever I tried to open the workbook. I tried to check the name of the
workbook, spelling used in Private Sub Workbook_Open(). I am not able to
trace the problem. What could be the reason, please ?
Did you change the name of the Userform? If you did, then you'll have to use
its new name in your code, too.
If this doesn't help, what's the name of the userform?
And post the code that causes the error--maybe it's not the Workbook_Open
event???
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.