Hello,
I was wondering if I execute the following code:
Dim oApp, oWB As Object
' open Excel
Set oApp = CreateObject("Excel.Application")
' load a spreadsheet file
Set oWB = oApp.Workbooks.Open("W:\Working Directories\Mike\RegressThis.xls")
whether the startup macro in RegressThis.xls will run?? See, I have Access exporting a table to Excel, then opening excel in the above fashion, then I *thought* it would run RegressThis.xls' startup macro, but it doesn't seem to be doing it!!
Thank you!!
I was wondering if I execute the following code:
Dim oApp, oWB As Object
' open Excel
Set oApp = CreateObject("Excel.Application")
' load a spreadsheet file
Set oWB = oApp.Workbooks.Open("W:\Working Directories\Mike\RegressThis.xls")
whether the startup macro in RegressThis.xls will run?? See, I have Access exporting a table to Excel, then opening excel in the above fashion, then I *thought* it would run RegressThis.xls' startup macro, but it doesn't seem to be doing it!!
Thank you!!