Unload Userform doesn't work here - why?

  • Thread starter Thread starter rammieib
  • Start date Start date
R

rammieib

In my code, when I open up a new workbook which has a userform splash
screen, the unload userform1 code works tos top it loading up.

However, later on in the coding where I activate to a different
workbook, the unload userform1 doesn't stop the userform from
appearing? Code below.

Workbooks(change).Activate
Unload UserForm1

Any ideas?
 
Application.EnableEvents = False
Workbooks(change).Activate
Application.EnableEvents = True

might work better in both cases.
 

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

Similar Threads


Back
Top