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. How to Create CSV file from MS Office files and vis-a-versa?

How to Create CSV file from MS Office files and vis-a-versa?

Scheduled Pinned Locked Moved C / C++ / MFC
c++toolshelptutorialquestion
4 Posts 3 Posters 1 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.
  • A Offline
    A Offline
    Amarelia
    wrote on last edited by
    #1

    Hi, How to convert a .doc,.xls,.pdf etc..file to a CSV file format and then covert it back to .doc,.xls,.pdf file format. Is there any utility/program available that can be directly integrated into my application for this job? Or Is there any support provided in MFC for the same? Any Code snippet or function...please help. your time and help is much appreciated. Thanks & Best Regards, Mahesh

    S 1 Reply Last reply
    0
    • A Amarelia

      Hi, How to convert a .doc,.xls,.pdf etc..file to a CSV file format and then covert it back to .doc,.xls,.pdf file format. Is there any utility/program available that can be directly integrated into my application for this job? Or Is there any support provided in MFC for the same? Any Code snippet or function...please help. your time and help is much appreciated. Thanks & Best Regards, Mahesh

      S Offline
      S Offline
      S Douglas
      wrote on last edited by
      #2

      Amarelia wrote:

      Is there any utility/program available that can be directly integrated into my application for this job?

      Have you tried saving the word documents as a RTF file? The excel file can be resaved as CSV (Comma delimited) file? As those are really flat text files CVS should be fine with them and office can still use them (you wont be able to use the fancy formatting of office but it should work).


      D 1 Reply Last reply
      0
      • S S Douglas

        Amarelia wrote:

        Is there any utility/program available that can be directly integrated into my application for this job?

        Have you tried saving the word documents as a RTF file? The excel file can be resaved as CSV (Comma delimited) file? As those are really flat text files CVS should be fine with them and office can still use them (you wont be able to use the fancy formatting of office but it should work).


        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        S Douglas wrote:

        Have you tried saving the word documents as a RTF file? The excel file can be resaved as CSV (Comma delimited) file?

        That would be the route I'd choose.


        "The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb

        S 1 Reply Last reply
        0
        • D David Crow

          S Douglas wrote:

          Have you tried saving the word documents as a RTF file? The excel file can be resaved as CSV (Comma delimited) file?

          That would be the route I'd choose.


          "The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb

          S Offline
          S Offline
          S Douglas
          wrote on last edited by
          #4

          DavidCrow wrote:

          That would be the route I'd choose.

          Sometimes the simplest solution eludes even the best of us. No reason to re-invent the wheel when office is capable of working with the simpler formats. The PDF files now on the other hand well they would be just a pain in the but, unless your running subversion. :)


          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