Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Creation of excel sheet(.xlsx) with multiple tabs
Forum Updated to NodeBB v4.3 + New Features

Creation of excel sheet(.xlsx) with multiple tabs

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 4 Posters 892 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.
  • Venkatesh VV Offline
    Venkatesh VV Offline
    Venkatesh V
    wrote on last edited by aha_1980
    #1

    Hi all,

    I want to create a excel sheet(.xlsx) with multiple tabs at application run time, can anybody help me with this.

    Thanks in advance.

    JonBJ 1 Reply Last reply
    1
    • Venkatesh VV Venkatesh V

      Hi all,

      I want to create a excel sheet(.xlsx) with multiple tabs at application run time, can anybody help me with this.

      Thanks in advance.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Venkatesh-V
      Since this seems to have nothing to do with Qt, if you do not get an answer here you should rather address your question to somewhere about Excel, e.g. stackoverflow.com.

      Venkatesh VV 1 Reply Last reply
      0
      • JonBJ JonB

        @Venkatesh-V
        Since this seems to have nothing to do with Qt, if you do not get an answer here you should rather address your question to somewhere about Excel, e.g. stackoverflow.com.

        Venkatesh VV Offline
        Venkatesh VV Offline
        Venkatesh V
        wrote on last edited by
        #3

        @JonB

        Thanks for your response.
        Actually i want to develop this with Qt only. Is there any specific Qt template to achieve this?

        1 Reply Last reply
        1
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #4

          If you don't want to depend on MS Excel then the best option is: https://github.com/VSRonin/QtXlsxWriter it is unmaintained but works if your requirements are not too complex.

          If you can use MS Excel you can use QAxObject to interact with it, see https://forum.qt.io/topic/89536/qaxobject-and-excel @hskoglund is the expert in this field

          If you can use .Net (i.e. you are on windows). You can use C++/CLI and access the same functionalities C# has to interact with MS Office documents: https://www.codebyamir.com/blog/create-excel-files-in-c-sharp the translation to C++/CLI should not be too hard

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply
          4

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved