HI
I have a winbatch script that is executing a report but I need it to execute the auto_open macro automatically on opening the workbook. I put the following code in the Workbook event Open but it did not work. THis server is still using Excel 97. Any ideas??
Workbook_Open()
Dim XLFlash as Excel.workbook
Activeworkbook.RunAutoMacros (xlAutoOpen)
Set XLFlash = nothing
End Sub
Lana
I have a winbatch script that is executing a report but I need it to execute the auto_open macro automatically on opening the workbook. I put the following code in the Workbook event Open but it did not work. THis server is still using Excel 97. Any ideas??
Workbook_Open()
Dim XLFlash as Excel.workbook
Activeworkbook.RunAutoMacros (xlAutoOpen)
Set XLFlash = nothing
End Sub
Lana