Hi,
Is anyone try to save excel object in vb.net? I have problem below:
I run the code below in vb.net and it have "error: 1004. Exception from HRESULT: 0x800A03EC"
xlsApp = New Excel.Application
xlsBook = xlsApp.Workbooks.Open(Filename:="D:\test.xls", UpdateLinks:=False, ReadOnly:=False)
xlsSheet = xlsBook.ActiveSheet()
xlsSheet.SaveAs(FileName:="D:\commaTEST", FileFormat:="xlCSV")
Thanks for your help...
Ben
Is anyone try to save excel object in vb.net? I have problem below:
I run the code below in vb.net and it have "error: 1004. Exception from HRESULT: 0x800A03EC"
xlsApp = New Excel.Application
xlsBook = xlsApp.Workbooks.Open(Filename:="D:\test.xls", UpdateLinks:=False, ReadOnly:=False)
xlsSheet = xlsBook.ActiveSheet()
xlsSheet.SaveAs(FileName:="D:\commaTEST", FileFormat:="xlCSV")
Thanks for your help...
Ben