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