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. Acessing excel (*.xls) in vc++

Acessing excel (*.xls) in vc++

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

    Hi, I want to copy the complete data from an excel sheet to another excel sheet.And also serach for the specific data from the specific column and copy down the data to the excel sheet. Is there any possible way to do so? Thanks a lot in advance. Chetan. Helping others satisfies you...

    F H 2 Replies Last reply
    0
    • C chetan210183

      Hi, I want to copy the complete data from an excel sheet to another excel sheet.And also serach for the specific data from the specific column and copy down the data to the excel sheet. Is there any possible way to do so? Thanks a lot in advance. Chetan. Helping others satisfies you...

      F Offline
      F Offline
      FarPointer
      wrote on last edited by
      #2

      Hi, You can convert that xls to csv and parse it to read the specified coloumn ,this would be the fast mechanism if the data to be read is huge, or else you can use automation . Regards, FarPointer

      C 1 Reply Last reply
      0
      • C chetan210183

        Hi, I want to copy the complete data from an excel sheet to another excel sheet.And also serach for the specific data from the specific column and copy down the data to the excel sheet. Is there any possible way to do so? Thanks a lot in advance. Chetan. Helping others satisfies you...

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        http://www.codeguru.com/cpp/data/mfc_database/microsoftexcel/article.php/c4307/[^] maybe it is some helpful to you

        C 1 Reply Last reply
        0
        • F FarPointer

          Hi, You can convert that xls to csv and parse it to read the specified coloumn ,this would be the fast mechanism if the data to be read is huge, or else you can use automation . Regards, FarPointer

          C Offline
          C Offline
          chetan210183
          wrote on last edited by
          #4

          hi, Thanks for reply. There is a .xls file. i tried to open it using fopen but i realized that excel file is a binary format file and could not be opened using fopen. I have to use .xls file. i cannot use .csv file. I have no idea about automation. could you please refer some links, which helps me. Again thanks a lot Chetan. Helping others satisfies you...

          1 Reply Last reply
          0
          • H Hamid Taebi

            http://www.codeguru.com/cpp/data/mfc_database/microsoftexcel/article.php/c4307/[^] maybe it is some helpful to you

            C Offline
            C Offline
            chetan210183
            wrote on last edited by
            #5

            Thanks, i will go through the link. Helping others satisfies you...

            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