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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel to C++

Status
Not open for further replies.

RamziSaab

MIS
May 7, 2003
522
GB
Is there a program that can compile and excel spreadsheet into C++ automatically?

 
No, there is nothing like that... what are you trying to accomplish?


Best Regards,
Scott

"Everything should be made as simple as possible, and no simpler."[hammer]
 
i am trying to automatically convert my excel spreadsheet to c++ using a compiler. i.e. the program will rewurite the program in C with inputs the user chooses and output the required data
 
Ramzi,
Sorry mate, that's still too vague. What are you REALLY trying to accomplish? Leave the Excel/C++ argument out of it, and tell me what you are trying to achieve for your user.


Best Regards,
Scott

"Everything should be made as simple as possible, and no simpler."[hammer]
 
i am the user i need to run 1 million + simulations, excel takes a day (the excel spreadsheet if very well built but acnnot handle the sheer amount of calculations) i am looking for a way to speed it up...hence c++
 
Well, if you know C++, why not just write something that will do the calculation? If you could "compile" the spreadsheet, it would still not be able to hold 1,000,000 itterations... so you'll need another solution.
Have you considered something like SQL Server and OLAP? Or, Access or VFP sound like better tools than using Excel for what you are trying to do. You need to find the right tool for your job here...


Best Regards,
Scott

"Everything should be made as simple as possible, and no simpler."[hammer]
 
i dont need it to hold the iterations just ouput the data in excel
 
Well, VFP can write data out to Excel tables... it sounds like the ideal thing for you. It has some powerful number crunching too, as long as the numbers do not exceed about 15 - 20 digits in length per number.


Best Regards,
Scott

"Everything should be made as simple as possible, and no simpler."[hammer]
 
ok but i dont want to write the program myself i want it to work out the calculation itself and just use it as an addin
 
Well, I still don't really understand what you are trying to accomplish... can you give me any more detail about what you are doing, otherwise, I don't think anyone here will be able to help you. Feel free to provide me an e-mail address and I will corresond on this issue that way with you if you wish.

Best Regards,
Scott

"Everything should be made as simple as possible, and no simpler."[hammer]
 
So you are trying to replicate what Turboexcel does??? Why not just buy it then?


Best Regards,
Scott

"Everything should be made as simple as possible, and no simpler."[hammer]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top