How to make macro start when file is opened
John,
You've got it.
Private Sub Workbook_Open()
'your code here
End Sub
'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code
--
HTH
RP
(remove nothere from the email address if mailing direct)
"gifer" wrote in message
...
I want a macro to start running when I open the file, how and where do I
use
an event procedure like workbook_open (if this is a real one??) to do
this?
Excel2000.
Thanks,
John
|