this helped...
http://www.cpearson.com/excel/events.htm
I then realized my macros where diabled too.
Since my digital signature had been wiped from the project (i edited on a
user's PC and forgot to re-attach it on my PC) Security setting HIGH was
disabling macros from running.
Now the events work fine.. and I dont need the ThisWorkbook modules
(although the link above says I need to start using events instead of the
Auto_open style)
--
Regards,
John
"John Keith" wrote:
I have a sheet originally developed with Excel2002 using the Auto_Open routine.
I then found that I needed to make this project work with the older version.
why wont this work?
*** in ThisWorkbook's module ***
Sub Worksheet_Open()
Stop 'for test
Auto_Open
End Sub
Sub WorkSheet_Close()
Stop 'for test
Auto_Close
End Sub
*** in a standard module ***
Public Sub Auto_Open()
...
Public Sus Auto_Close()
...
I have put "stops" in the code to verify that the routines are never getting
control.
I am forced to first open Excel2000 then load the sheet because excel2002 is
the version that is auto launched on dbl-click of a XLS file. (and the
Auto_'s work perfectly in that version.)
--
Regards,
John