there are number of ways to see the report in excel format
firstly create a object
oExcel=createobject("Excel.Application")
with oExcel
WITH MyExcelObj
.Workbooks.Add
.Sheets(1).Select
SELECT curFinal
GO top
SCAN WHILE NOT EOF("CURFINAL")...
in place of
.RANGE(CHR(96+t)+ALLTRIM(STR(giLineCount))).VALUE=gaSelectedFieldName(t)
use
.Cells(lnRowNumber,lnColumnNum).value=gaSelectedFieldName(t)
where lnRownumber,lncolumnNumber are numeric values
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.