1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

how to create an excel file using c code

Discussion in 'C' started by Anil_c, May 16, 2011.

  1. Anil_c

    Anil_c New Member

    Friends,

    Please guide me how can I create an excel file and write some data into it using c/c++ code. A sample code is much more helpful.

    Thanks,
    Anil
     
  2. xpi0t0s

    xpi0t0s Mentor

    Depends how you want to do it. Do you want to control Excel through DDE to create the file and perform operations on it on your behalf, or do you want to create the file directly? What version of the Excel filetype do you want to use? Does it have to be a .xls file? CSV files are a LOT easier to write and Excel can read them directly.
     

Share This Page