使用Workbooks.Open文件具有“不可读内容”/ VBS时
在VBS代码下面,将.xls转换为.csv。
Set oBook = oExcel.Workbooks.Open(sfile) oBook.SaveAs fulldest, 6 oBook.Close False
如果对大多数文件工作正常,但其中一个有通常的Excel found unreadable content in filename.xls'. do you want to recover the contents of this workbook ? If you trust the source of this workbook, click Yes.
Excel found unreadable content in filename.xls'. do you want to recover the contents of this workbook ? If you trust the source of this workbook, click Yes.
。
当为这个文件执行.Workbooks.Open
方法时,我得到Unable to get the Open property of the Workbooks
。
我试过oExcel.Workbooks.Open(sfile, xlRepairFile)
没有成功。