COnvert xlsx to xls

  • Thread starter Thread starter mraj12
  • Start date Start date
M

mraj12

Guest
Hello,

we have process to monitor and reading the email attachment in xls format and converted into txt or csv file and store it in a system location.

Dim objWorkbook As excel.Workbook
Dim objWorkSheet As excel.Worksheet
Set objWorkbook = Workbooks.Open(filePath, 0, False, , , , True, , , True, False, , False)
excel.Application.Visible = False

by using the above code we were able to process "XLS" files but its not supporting the "XLSX" Files.

that is latest versions of microsoft office 2007.

as per our requirement we have to process the "XLSX" Files even ..

can anyone help out to do the same... how to convert the "xlsx" file into "XLS" using visual basic code and store it in the system location with out changing the original file name ..

we tried converting but getting error.

Please anyone provide the best solution...

Many thanks in advance....

Continue reading...
 
Back
Top