Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to read MS EXCEL workbook in Linux using C++

How to read MS EXCEL workbook in Linux using C++

Scheduled Pinned Locked Moved C / C++ / MFC
c++linuxtutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 1789099
    wrote on last edited by
    #1

    I am using RHEL6, Qt4.8.5, QTCreator I am using the command line entry

    Quote:

    soffice --invisible -convert-to csv excelfilename.xls

    It works fine but only give me the first spreadsheet tab in the workbook. Does anyone know how to drill down to the subsequent spreadsheets using this command line entry?? Thanks emp

    L V 2 Replies Last reply
    0
    • U User 1789099

      I am using RHEL6, Qt4.8.5, QTCreator I am using the command line entry

      Quote:

      soffice --invisible -convert-to csv excelfilename.xls

      It works fine but only give me the first spreadsheet tab in the workbook. Does anyone know how to drill down to the subsequent spreadsheets using this command line entry?? Thanks emp

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Hi, If you have a C++ question then I am sure someone will be happy to answer it. The Open Office support forum is here: OpenOffice Community Support[^] Here is a Microsoft code sample demonstrating Excel automation: C++ app automates Excel (CppAutomateExcel)[^] Best Wishes, -David Delaune

      1 Reply Last reply
      0
      • U User 1789099

        I am using RHEL6, Qt4.8.5, QTCreator I am using the command line entry

        Quote:

        soffice --invisible -convert-to csv excelfilename.xls

        It works fine but only give me the first spreadsheet tab in the workbook. Does anyone know how to drill down to the subsequent spreadsheets using this command line entry?? Thanks emp

        V Offline
        V Offline
        Victor Nijegorodov
        wrote on last edited by
        #3

        Have a loo at [How to convert specific sheet to CSV via command line? - Ask LibreOffice](https://ask.libreoffice.org/en/question/46466/how-to-convert-specific-sheet-to-csv-via-command-line/)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups