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. CSV file into Excel Sheet

CSV file into Excel Sheet

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

    I need to convert CSV file into an Excel Sheet. Can I have suggesstions or article where can I get the information. Thanks in advance Warm Regards, KKR

    A P 2 Replies Last reply
    0
    • K KKR

      I need to convert CSV file into an Excel Sheet. Can I have suggesstions or article where can I get the information. Thanks in advance Warm Regards, KKR

      A Offline
      A Offline
      Adam Gritt
      wrote on last edited by
      #2

      Assuming through code, just use the Excel COM object and tell it to open the csv file. Then tell it to save as Excel file.

      1 Reply Last reply
      0
      • K KKR

        I need to convert CSV file into an Excel Sheet. Can I have suggesstions or article where can I get the information. Thanks in advance Warm Regards, KKR

        P Offline
        P Offline
        Peter Molnar
        wrote on last edited by
        #3

        There are two ways: 1.Using ODBC Excel driver which is available on all Windows PC's even without M$ Office installed, neither on your nor your user's PC. For an example see this: http://www.codeproject.com/database/excel_odbc_write.asp[^] 2.Using Excel automation, requires Office both on you and your user's PC See Adam's message above, and MSDN for Office automation. Peter Molnar

        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