View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
John Davidson[_2_] John Davidson[_2_] is offline
external usenet poster
 
Posts: 2
Default How to register an event handler when excel opens

I have code to register my class module what I need to do is cause this
code to execute when Excel starts up sort of like a autoexec.

{John}

"Tom Ogilvy" wrote in message
...
See Chip Pearson's page on Application Level events

http://www.cpearson.com/excel/appevent.htm

for writing code with code
http://www.cpearson.com/excel/vbe.htm

--
Regards,
Tom Ogilvy


"John Davidson" wrote in message
...
Folks,

I have written an event handler to to validate the work book name

before
saving a work book. Ineed to know what code do I have to write to have

the
event handler register itself when Excel starts.

Also is there some install procedure where I can move my code and

user
from into the personal.xls in the XLSStart directory? I can do it by

hand
but that is a pain.

Thanks,

{John}

I miss Cusp and Mesa.