‎2005 Oct 19 2:32 PM
Hi,
In one of my programs I have used OLE automation to donwload the contents into an EXCEL File.The Program as well as the File is getting downloaded properly. BUt the only issue that is coming is that OLE is taking a lot of time and the performance has reduced.
In my requiremnt I have all the contents in an Internal Table.And I am passing the Values Cell by Cell to the Excel. Is there any way I can directly pass the Table or the Lines. Or can anyone suggest any other way of increasing the Performance.
Thanks in Advance
Arunava
‎2005 Oct 19 2:37 PM
‎2005 Oct 19 2:55 PM
Hi Rich,
I think GUI_DOWNLOAD is not an ideal FM to meet my requirement. Because
1. I need Colours
2. There are some Cells having Numbers and they can have leading Zero Which can be done in EXCEL only when the Format is TEXT.And I dont think we can specify the Format of the File in GUI_DOWNLOAD.
Please guide if I am wrong.
Thanks again,
Arunava
‎2005 Oct 19 3:00 PM
‎2005 Oct 19 3:44 PM
Hi Rich,
The Number of Records can be quite large and even in minimal runs the Excel can have around 1000 Row with 18 columns in one Worksheet.
Is passing the Values Cell by Cell to the EXCEL the only way of passing the Internal Table contents.
Also need a help I want to Autofit my Columns. I recoded the Excel MAcro and went to the VBA editor..The Code is
SELECTION.ENTIRECOLUMN.AUTOFIT -- I think It is only an attribute . But CAn we assign any Value( that will force it to autofit). I tried using SET PROPERTY of <ENTRIRECOLUMN> <AUTOFIT> and tried to pass a Value. It doesnt work and the Sy-subrc NE 0.
Can you guide on this Autofit issue.
Thanks again
Arunava