Link to home
Start Free TrialLog in
Avatar of Tech Savvy
Tech Savvy

asked on

Convert Excel Workbook into c++ code

We would like to find a way to automatically convert an excel workbook into c++ code.
The following tool apparently does that (calc4web) however it generates a compiled .dll intead of C++ code.
We want to be able to reuse and enhance the c++ code.
Anyone used this before? Are there any other out of the box solution out there ?
If not, is there a way or a tool  to map the entire workbook so that we can follow it like a blue print and then convert it to c++
Any ideas or solutions would be very helpful
Avatar of tuvi
tuvi
Flag of United States of America image

I think calc4web (1) translates Excel functions into C++ functions and (2) compile them into a DLL that can be called from Excel.

Step (1) is easy... Any Excel functions can be translated into C++ functions.

Step (2) you need Excel C API  from Microsoft.

Step (2) requires a lot of work. Fortunately, there is a C++ Wrapper that will take care of that. Now, you just focus on writing the C++ functions, and the Wrapper will take care step (2) for you.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.