MichaelHensley
2006-04-09 04:32:20 UTC
I have a script that starts up Excel, opens a CSV file, does a bunch of
stuff to the contents, and then I want to save the results as a normal Excel
workbook. Everything works great except the SaveAs part.
Here is the line:
objExcel.ActiveWorkbook.SaveAs "Foobar.xls", xlNormal
The error is "SaveAs method of Workbook class failed"
I've tried a number of random variations on the theme, to no avail.
Any suggestions would be greatfully received. Thanks!
stuff to the contents, and then I want to save the results as a normal Excel
workbook. Everything works great except the SaveAs part.
Here is the line:
objExcel.ActiveWorkbook.SaveAs "Foobar.xls", xlNormal
The error is "SaveAs method of Workbook class failed"
I've tried a number of random variations on the theme, to no avail.
Any suggestions would be greatfully received. Thanks!