+ Reply to Thread
Results 1 to 3 of 3

Need to convert .ods files into .xlsx using excel macro

  1. #1
    Registered User
    Join Date
    02-04-2015
    Location
    Delhi
    MS-Off Ver
    2013
    Posts
    1

    Need to convert .ods files into .xlsx using excel macro

    I need to convert Open Office spreadsheet (.ods extension files) into MS Office(.xlsx extension files) for which i tried a macro in MS Office Excel. But it throws a error and not able to convert.

    Logic Used in Macro:
    1. Open .ods file in MS Office Excel.
    2. Save file as .xlsx
    3. Close

    It is throwing error in Step 2.

    Any help will be greatly appreciated.

    Thanks in advance!!.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Need to convert .ods files into .xlsx using excel macro

    When you Google:

    Excel vba ods to xlsx

    ...ready made answers popup everywhere.

    http://answers.microsoft.com/en-us/o...bdc9e3e?auth=1
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Need to convert .ods files into .xlsx using excel macro

    Maybe repairing the file first is needed :

    Please Login or Register  to view this content.

    Regards
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Convert xlsx files into CSV keeping foreign characters
    By Ryanc1984 in forum Excel General
    Replies: 5
    Last Post: 09-25-2018, 07:17 AM
  2. Vba code to convert xlsx files in xls files 2003 format
    By clixo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-25-2014, 01:50 PM
  3. [SOLVED] how to convert multiple .txt files to .xlsx files using a macro?
    By Aaron_Tram in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-21-2013, 06:30 PM
  4. VBA Convert CSV Files to Excel XLSX
    By sanjeevpandey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-14-2013, 10:05 AM
  5. Convert .xls files to .xlsx
    By luckyros in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-22-2009, 05:32 AM
  6. Replies: 2
    Last Post: 11-27-2008, 09:33 AM
  7. HOW DO I CONVERT XLSX FILES BACK TO EXCEL 2003?
    By vei in forum Excel General
    Replies: 5
    Last Post: 07-10-2006, 04:34 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1