I want to dynamically create and populate an excel spreadsheet with C++ builder 2009, but I’m not entirely sure how to go about it. Searching the web, I’ve narrowed it down to using OLE Automation. Moreover, I’m looking for a document or programming tutorial that can get me started. Is there a simple programming tutorial that also thoroughly explains the concepts of OLE automation?
I want to dynamically create and populate an excel spreadsheet with C++ builder 2009,
Share
To open an excel spreadsheet:
To get the current cell pointer:
To add values to excel:
I hope this gets you started, you will probably need to include
vcl.handcomobj.hpp.