Thread: run macro auto
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default run macro auto

Hi
either rename the macro to Auto_Open()
or put the code in the workbook event Workbook_open()

--
Regards
Frank Kabel
Frankfurt, Germany


JIM.H. wrote:
Hi,
I have a excel file that keeps the macro recorded. Now
What I want to do each time I open another excel file,
that macro should be run automatically, how can I do this?
Thanks,
Jim.