In a standard module, create a sub with the name Auto_Open (don't do it in a
sheet module, thisworkbook module or a userform module).
Dim OpenByUI As Boolean
Sub Auto_Open()
OpenByUI = True
End Sub
It is supported in xl5 to xl2003.
--
Regards,
Tom Ogilvy
"Herminio " wrote in message
...
Dear Chip.
Unfortunately I am using Excel 2000 and it looks like it does not
support the Auto_Open event.
The nearest one to that would be the Activate event, but this is
executed after the Open, in both manual and VBA calls.
Thank you anyway.
Regards,
Herminio.
---
Message posted from http://www.ExcelForum.com/