Hello:
I have a workopen event as follows:
The workbook is saved as an xlam file.
If I open this file after Excel 2007 loads with file open menu
everything is fine. The code runs without error and
the helpcontext etc work just fine.
Now if I load the file as an add-in through the add-in
manger using the Excel Option menu it again works just fine.
But if I close Excel and then Open Excel (so that add-in
loads automatically) I get an error message that says:
Run-time error '1004'
Cannot edit a macro on a hidden workbook. Unhide
the working using the Unhide command.
Can someone help so that the code works when
add-in is loaded automatically?
Thanks.
Bookmarks