View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 6,953
Default Run macro automatically

you would use the workbook_open event. As long as macros are not disabled
either by the security setting or manually by the user, it would run on
opening.

http://www.cpearson.com/excel/events.htm
describes the various events available to you.

--
Regards,
Tom Ogilvy


"Daniel" wrote:

How to program VB so that when open the Excel work book it run the macro
automatically without hit tool/ macro/run
Thnks
Daniel