I have an xlsm workbook which currently uses Auto_Open to perform some initialization processing which includes display of a UserForm and associated handlers for the buttons on the UserForm. I'm trying to convert from using Auto_Open (which I'm told is "obsolete") to using a Workbook_Open event handler within the Thisworkbook module within the list of Microsoft Excel Objects. I cut/pasted the logic from the Auto_Open routine within my code module into the Private Sub Workbook_Open() within the Excel Objects module, then deleted the shell of the Auto_Open routine. But now when I open the workbook there is no evidence that any code within Workbook_Open is ever executed. Is there some setting I'm missing somewhere to enable event handling?
cw
- Moved by George.Zhao CHNMicrosoft contingent staff 1 hour 50 minutes ago