Macro - Auto Run
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
Bob Phillips
(remove nothere from the email address if mailing direct)
"Gary" wrote in message
...
Hi,
I have made a macro in a workbook that sorts the data I have.
Now, I want this macro to run automatically everytime we open the
workbook.
Help required.
Thanks
Gary
|