• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

ODS to xls

Aarif A Idrisi

New Member
Dear Sir,

I want to convert ODS Format to excel format which is XLS or other format.

i have try in .bat file but its not working i have try preparing OpenOffice Macro but its not working as its asking to install some application .net

i have try openoffice wizard its also not working.

Sir pls help, I Know my English is not good.
 
Try this link
http://answers.microsoft.com/en-us/...a/610e0321-4c91-4c25-b23f-a1e0bbdc9e3e?auth=1

Or try this code (untested)
Code:
Sub Test()
  Dim strFileName As String
  strFileName = "Sample.ods"
  Application.DisplayAlerts = False
    Workbooks.Open Filename:=ThisWorkbook.Path & "\" & strFileName, CorruptLoad:=xlRepairFile
    ActiveWorkbook.SaveAs Filename:=Left$(ActiveWorkbook.Name, Len(ActiveWorkbook.Name) - 4) & ".xlsx", FileFormat:=xlOpenXMLWorkbook
    ActiveWorkbook.Close
  Application.DisplayAlerts = True
End Sub
 
Last edited:
Back
Top