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. hi...

hi...

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
8 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.
  • K Offline
    K Offline
    kamalilam
    wrote on last edited by
    #1

    how to read an Excel files(.xls) with cell values using vc++...??

    M CPalliniC R L 4 Replies Last reply
    0
    • K kamalilam

      how to read an Excel files(.xls) with cell values using vc++...??

      M Offline
      M Offline
      Michel Godfroid
      wrote on last edited by
      #2

      If you have excel installed on your system, read this[^] If you don't have Excel installed, you should find some library which will do that for you (You could do it yourself, and I could even explain how, but that will take us too far). Oh,and next time you post, try to be less polite and more descriptive in your title... :)

      1 Reply Last reply
      0
      • K kamalilam

        how to read an Excel files(.xls) with cell values using vc++...??

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

        Directly reading .xls files from Visual C++ would be cumbersome. I see two options:

        • Use automation (there are a lot of articles about, here at CodeProject, see, for instance, this list [^] ).
        • Export the .xls file to .csv one format and then read the latter.

        BTW: As posting guidelines suggest, a more meaningful message title would be appreciated. :)

        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

          Directly reading .xls files from Visual C++ would be cumbersome. I see two options:

          • Use automation (there are a lot of articles about, here at CodeProject, see, for instance, this list [^] ).
          • Export the .xls file to .csv one format and then read the latter.

          BTW: As posting guidelines suggest, a more meaningful message title would be appreciated. :)

          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
          Michel Godfroid
          wrote on last edited by
          #4

          CPallini wrote:

          more meaningful message title would be appreciated.

          Beat me to it :-D

          1 Reply Last reply
          0
          • K kamalilam

            how to read an Excel files(.xls) with cell values using vc++...??

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

            I've used BasicExcel - A Class to Read and Write to Microsoft Excel[^] in the past, and it works pretty well. It's worth mentioning that I only needed to perform certain simple read operations. Using excel automation would be ideal if you're going to do complex tasks.

            “Follow your bliss.” – Joseph Campbell

            K 1 Reply Last reply
            0
            • K kamalilam

              how to read an Excel files(.xls) with cell values using vc++...??

              L Offline
              L Offline
              lpfvip
              wrote on last edited by
              #6

              hi...

              1 Reply Last reply
              0
              • R Rajesh R Subramanian

                I've used BasicExcel - A Class to Read and Write to Microsoft Excel[^] in the past, and it works pretty well. It's worth mentioning that I only needed to perform certain simple read operations. Using excel automation would be ideal if you're going to do complex tasks.

                “Follow your bliss.” – Joseph Campbell

                K Offline
                K Offline
                kamalilam
                wrote on last edited by
                #7

                can u send me a sample project?

                R 1 Reply Last reply
                0
                • K kamalilam

                  can u send me a sample project?

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

                  I cannot send you anything. However, the page I linked you to earlier has a sample project and some text that you can read up.

                  “Follow your bliss.” – Joseph Campbell

                  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