Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I tried entering an event procedure (Sub Workbook_Open), but the procedure isn executed when the workbook is open. Whats wrong?

0
Posted

I tried entering an event procedure (Sub Workbook_Open), but the procedure isn executed when the workbook is open. Whats wrong?

0

You probably put the procedure in the wrong places. Workbook event procedures must be in the code module for the ThisWorkbook object. Sheet event procedures must be in the code module for the appropriate Sheet object.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123