Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading data in to a program from Excel

Status
Not open for further replies.

cathym

Programmer
Jul 17, 2002
25
0
0
US
I have an extensive Excel spreadsheet with many references and calculations. To ease the load, I want to write a c++ program to read the data into a one dimentional array of structs, do some sorts and some calculations, and then spit the data back out to a separate part of the spreadsheet. If I were using .dat or .txt files instead of an Excel spreadsheet, there would be no problem. How do I actually capture a number out of a cell on a spreadsheet? With as little overhead as possible.






 
if you want you can export the excel to common delimited and then do a search for the "," in question and do whatever calculations you want an the save the file in comma delimited form again and import into excel. hope this help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top