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.

When I click a button on my UserForm nothing happens. What am I doing wrong?

0
10 Posted

When I click a button on my UserForm nothing happens. What am I doing wrong?

0
10

Controls added to a UserForm do nothing unless you write event-handler procedures for them. I wrote a subroutine named Workbook_Open, but it doesn’s get executed when the workbook is opened. The most likely cause is that your subroutine is located in a normal VBA module. Workbook event procedures must be located in the code module for the ThisWorkbook object.

Related Questions

What is your question?

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

Experts123