This would certainly be the right approach...
Can you be more specific about "could not get the corresponding event for
opening the workbook"? Do you mean you couldn't find the event?
(last update Jun 17 2005)
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)