Thread: OnOpen event
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default OnOpen event

Use the Workbook_Open event in the thisworkbook.module.

See Chip Pearson's page on events for a discussion.

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

--
Regards,
Tom Ogilvy


"Aaron" wrote in message
...
Hello,

I need to run a macro when my workbook opens. Can someone please help

with
this very simple code?

Thank you much,
Aaron