I have no idea how to do that, but...try asking the same question in the Delphi forum, they can give you some ideas, anyway, is gonna be almost the same solution.
If I am not misunderstanding your question.
Here is where I got started when I had the problem as you seem to have. The information is clear and concise enough for you to get on the rails fairly quickly -
A member of my development team wrote some code to generate an Excel workbook with multiple sheets. I can send you a chunk of code (a C++ object) that will serve as an example of how this is done using OLE. This stuff is not for the uninitiated, however. If you consider yourself to be a C++ programmer then this may be for you. Drop me a line at robert.gallaway@brooks.af.mil and I'll email you this chunk of code. It should at least give you an idea where to start.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.