Excel Workbook Open Event macro doesn't always run

后端 未结 10 606
刺人心
刺人心 2020-12-11 04:23

I\'ve got a Workbook_Open event macro (and it\'s in ThisWorkbook) that doesn\'t always run.

  • If Excel is closed and I double-click the .xls file from Windows Ex
10条回答
  •  长情又很酷
    2020-12-11 04:31

    A late answer (better than none).

    I've had this problem now a few times (with Excel 2010). The solution that has always worked (so far) was: remove conditional formatting, in particular if it contains UDF as conditions. As @LanceRoberts wrote in an above post, it's ultimately due to UDF calculations "overriding" the Open event, but I've found that those are particularly harmful if used in conditional formats.

提交回复
热议问题