Hello, I am having a problem with the Workbook_Open event in the ThisWorkbook sheet. I am trying to create a custom toolbar with three command buttons on it. I was able to get this done in a standard module (module1 in the attached) and it works well. I really want this to happen when the Workbook opens so I copied and pasted the code to the ThisWorkbook sheet in the Workbook_Open event. When I open the workbook, I get an “object variable or With Block variable not set” error. Everything seems be identical to the code in Module1 so now I am confused as to why it doesn’t work.
Perhaps it has something to do with the fact the the ThisWorkbook shhet is a Class Module???