Code: Select all
vbstart
Dim mytest
Set my = CreateObject("excel.application")
mytest.workbooks.Open "c:\1\1\test.csv"
mytest.displayalerts = false
mytest.activeworkbook.SaveAs "c:\1\1\test.xls", -4143
mytest.displayalerts = true
mytest.activeworkbook.Close False
Set mytest = Nothing
vbend
vbrun>mytest
I cannot connect using a connection string to the Excel result spreadsheet using DBCONNECT>
I tried a myriad of connection strings and combinations, but continue to fail.
However, if I take the result Excel spreadsheet, open it myself and resave as Excel again. I can connect xls, xlsx, etc.
Any assistance would be appreciated.
Ed
Background:
Vista OS
Office 2007
Macro Scheduler Pro 10.1.15
Macro is intended to run (non-visible)