We use a generic method to transfer report data direct to Excel based on passing each row of report data as a TAB delimited string and then using the Excel function putValue to populate each cell within each row. Unfortunately this methodology is very inefficient for large reports (e.g. over 100 rows and above). Creating the equivalent report as a CSV file is 10 times faster so it is obvious the Excel automation server side of things is the problem.
I need to speed the process up so have been toying with the idea of
(a) Transfer the TAB delimited string into Cell A of each row
(b) Use the Excel function textToColumns to automatically separate the TAB delimited string into the adjacent columns
Unfortunately, trying to make sense of the Excel function parameter requirements is a nightmare. The MSDN site makes reference to named space parameters like Excel.XlTextParsingType.xlDelimited but I have no idea how to relate this to the equivalent integer that Jade expects in the parameter string?
Has anyone got suggestions or maybe a better way to speed up the data transfer methodology to Excel?
Steve