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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. List Control to Excel

List Control to Excel

Scheduled Pinned Locked Moved C / C++ / MFC
question
6 Posts 5 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.
  • H Offline
    H Offline
    hellogany
    wrote on last edited by
    #1

    Hi All I am using Report View in List control with 5 to 6 columns. I need to transfer thes data from each column to excel sheet. Any Way to do it ?? Regards Gany

    CPalliniC R 2 Replies Last reply
    0
    • H hellogany

      Hi All I am using Report View in List control with 5 to 6 columns. I need to transfer thes data from each column to excel sheet. Any Way to do it ?? Regards Gany

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      Have a look at "How To Use MFC to Automate Excel and Fill a Range with an Array". :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      In testa che avete, signor di Ceprano?

      M 1 Reply Last reply
      0
      • CPalliniC CPallini

        Have a look at "How To Use MFC to Automate Excel and Fill a Range with an Array". :)

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
        [My articles]

        M Offline
        M Offline
        mesajflaviu
        wrote on last edited by
        #3

        Or , you can look over here , I was used this class and work fine !

        1 Reply Last reply
        0
        • H hellogany

          Hi All I am using Report View in List control with 5 to 6 columns. I need to transfer thes data from each column to excel sheet. Any Way to do it ?? Regards Gany

          R Offline
          R Offline
          Rajesh R Subramanian
          wrote on last edited by
          #4

          Apart from what was already suggested to you, you could consider exporting the values in .CSV format which Excel also can read and is more portable.

          “Follow your bliss.” – Joseph Campbell

          A 1 Reply Last reply
          0
          • R Rajesh R Subramanian

            Apart from what was already suggested to you, you could consider exporting the values in .CSV format which Excel also can read and is more portable.

            “Follow your bliss.” – Joseph Campbell

            A Offline
            A Offline
            Adam Roderick J
            wrote on last edited by
            #5

            csv is a more generic format than xls([^]) :)

            Величие не Бога может быть недооценена.

            M 1 Reply Last reply
            0
            • A Adam Roderick J

              csv is a more generic format than xls([^]) :)

              Величие не Бога может быть недооценена.

              M Offline
              M Offline
              mesajflaviu
              wrote on last edited by
              #6

              Adam Roderick J 09 wrote:

              csv is a more generic format than xls

              Yes , you are perfectly right , is much more handly and simple to export data in .csv format then .xls ! I recommend this solution !

              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