0

Hello I want to write a program in c++ to convert certain rows which i can choose from a table in excel to .csv. Anyone done anything similar? I am not sure how to do this, still thinking, any suggestions.

3
Contributors
5
Replies
6
Views
8 Years
Discussion Span
Last Post by marco93
0

Assuming there is a reason you don't just want to open the excel and choose to save it as a .csv, you can do this through a program, although it isn't easy.

I saw some code written in native c++ once, (free) but couldn't get it to work. There are some good modules in python/ and apache have some good stuff too.

If you want .net has great functionality with excel.

0

Thanks for your reply. The reason im trying to stay away from just opening and saving it as a .csv is cause I want to select certain data from the table which I want to convert to a separate .csv document. I will look into .net though.

0

I actually got an idea. I am think of writing a program in vba to create a new sheet with the information i need from the main sheet and then maybe use a macro to convert the new sheet to .csv. The only problem is I dont know vba ;)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.