How to make macro start when file is opened
Go to VBA editor using <alt + <f11
In the "project - vba project window" double click on "this workbook"
On the right side of the window click on dropdown arrow next to "general"
select "workbook"
click on dropdown next to "open" to see all possible event options
select "open" or any of the others
enter the name of the macro you want to run without the Sub and without the
( )
So it should look like...........
Private Sub Workbook_Open()
macroname
End Sub
Regards
Bill K
"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
|