Michael,
I'm stumped. Your error message has exceeded the tiny boundaries of my
technical knowledge. Sorry
However, here's something else. Put this line of code in your Worksheet_Open
macro to prevent users going to your VBA code via Alt+F11 and finding your
passwords.
Application.OnKey "%{F11}", ""
make sure that before you close the workbook, you include the line
Application.OnKey "%{F11}"
to reset the function of Alt+F11
If you add the following line to the beginning of a code module
Option Private Module
This will prevent any macro names contained in that code sheet being
displayed when you do Alt+F8 (run macro)
You can also disable/enable Alt+F8 in a similar way to the Alt+F11 example
above.
Hope this is of some use
Pete