How to write a data in Excel file dynamically from C / VC++

  • Thread starter Thread starter sweety
  • Start date Start date
S

sweety

Hi,

Very Urgent...

I Need to write a structure of data which is in "C" to excell file. So,
using C/VC++ how i can create a Excel file and how i can write a data
into the respective cell at run time.

Pls help on this , Would be great if some samples provided.

Thanks,
Sweety
 
The easiest approach is to output a text file that contains comma
delimited data, which you can then import into Excel. If you want to
create an Excel-type binary file from C/C++ then you will have to get
your hands on a third-party library that contains functions which you
can call to do this work. You may be able to define external functions
in C++ which make use of functions embedded in Excel dll's, but you'll
have to do a bit of searching to find out how to do this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top