D
Dave Calkins
I'm trying to figure out the best way to generate MS Office documents
(primarily Excel, but perhaps Word as well). For example, we have an app
which generates a bunch of data and we'd like to give the user the ability to
generate an Excel document which would have the data, charts, images, etc.
Is the best bet using the automation interface? If so, where's the best
place to start for more info on that?
How about directly generating the file? Anyone have experience using
commercial libraries which do this? Any products you could reccommend?
Also, how do templates fit into this? i.e., does it work well to create a
template file in Excel, for example, and then load it, fill in the specifics
and save it out? Or are you better just generating the whole document from
code.
Our code is Win32 native C++, however, we'd be open to using mixed-mode to
call managed APIs if that is necessary.
Thanks!
(primarily Excel, but perhaps Word as well). For example, we have an app
which generates a bunch of data and we'd like to give the user the ability to
generate an Excel document which would have the data, charts, images, etc.
Is the best bet using the automation interface? If so, where's the best
place to start for more info on that?
How about directly generating the file? Anyone have experience using
commercial libraries which do this? Any products you could reccommend?
Also, how do templates fit into this? i.e., does it work well to create a
template file in Excel, for example, and then load it, fill in the specifics
and save it out? Or are you better just generating the whole document from
code.
Our code is Win32 native C++, however, we'd be open to using mixed-mode to
call managed APIs if that is necessary.
Thanks!