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 auto run macro at workbook open

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

--
Regards,
Tom Ogilvy

"Juan Guemes" wrote in message
...
After using TS to open a workbook in XL2002 should I use
workbook_open or auto_run to activate a macro? I have
tried both with no success.
Sub Workbook_Open() '(for example)
Range("A1").Select
Selection.Copy
Range("A2").Select
ActiveSheet.Paste
End Sub
I've tried the same code using Auto_Run.
Thanks