Greetings Friends,
I am in between developing a small project for the place I work at.
Currently I am helping out the call center gang with automating their reports.
There is a huge report that they spool off a web site at the end of each month...
They obtain it in the form of an excel file with 97 format, which means each sheet is limited to 65535 rows only.
So therefor the report spans to 4 sheets and could be more...
I have completely automated this report into various pivot format for them per their requirement.
However the code is slow.
There are filtering out of blanks off 2 columns, unwanted rows from the other and pivoting to obtain 4 reports with different criterias each.
I am talking about 260000+ records analysed to about 72000+ actual meaningful data for the report.
Now, I thought maybe ADO could work out the trick more efficiently and faster.
I have worked with ADO before in access/excel and know how to on the basics of connection etc.
I need to know 2 things at this point:
1) Is ADO method faster than using excel automation via variant and/or range methods combined with loops?
2) How do I append data from 4 sheets into 1 recordset to later analyse it with various select statements?
Thanks,
Philip
I am in between developing a small project for the place I work at.
Currently I am helping out the call center gang with automating their reports.
There is a huge report that they spool off a web site at the end of each month...
They obtain it in the form of an excel file with 97 format, which means each sheet is limited to 65535 rows only.
So therefor the report spans to 4 sheets and could be more...
I have completely automated this report into various pivot format for them per their requirement.
However the code is slow.
There are filtering out of blanks off 2 columns, unwanted rows from the other and pivoting to obtain 4 reports with different criterias each.
I am talking about 260000+ records analysed to about 72000+ actual meaningful data for the report.
Now, I thought maybe ADO could work out the trick more efficiently and faster.
I have worked with ADO before in access/excel and know how to on the basics of connection etc.
I need to know 2 things at this point:
1) Is ADO method faster than using excel automation via variant and/or range methods combined with loops?
2) How do I append data from 4 sheets into 1 recordset to later analyse it with various select statements?
Thanks,
Philip