Workbook_Open sub won't run when I open the workbook?

后端 未结 6 594
自闭症患者
自闭症患者 2020-12-11 01:07

This program is supposed to create a button that the user can press to activate a different sub. From my searches online, it seems that the sub below should activate when op

6条回答
  •  醉酒成梦
    2020-12-11 01:27

    Make sure your Private Sub Workbook_Open() subroutine is pasted inside of the This Workbook object and not in a Module, Form, or Sheet object.

提交回复
热议问题