2009 Jan 19 11:52 AM
Hello Everyone,
I have a requirement where in i need to create an excel document with different format and data for each cell.Here i want to use office integration control .Can anyone provide me sample code to create a spreadsheet and passing the data to it through office integration..?.
I am also looking for other option where in instead of building document from scratch,i want to use one standard template which i should be able to open and pass the data to a certain cells of this document .Is it possible to implement this functionality through desktop integration controls..? Please do the needful.
Thank you in advance.
Regards,
Venkat.
Hello Everyone,
I have a requirement where in i need to create an excel document with different format and data for each cell.Here i want to use office integration control .Can anyone provide me sample code to create a spreadsheet and passing the data to it through office integration..?.
I am also looking for other option where in instead of building document from scratch,i want to use one standard template which i should be able to open and pass the data to a certain cells of this document .Is it possible to implement this functionality through desktop integration controls..? Please do the needful.
Thank you in advance.
Regards,
Venkat.
2009 Jan 19 11:57 AM
Hello Venkat,
Search this forum for OLE
You will get plenty of examples
2009 Jan 19 12:00 PM
Hello
Look at reports:
SAPRDEMOEXCELINTEGRATION
SAPRDEMOEXCELINTEGRATION2
2009 Jan 19 8:30 PM
Hi,
By using OLE your code becomes very lengthy and you have to write your own
reusable subroutines. It is not suitable for complex requirement.
You can go for Desktop Office Integration (DOI) classes and their methods which serves
most of the common user requirements.
Please refer below examples
1. SAPRDEMO_SPREADSHEET_INTERFACE
2. SAPRDEMO_FORM_INTERFACE
Regards,
Vishal
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |