Pasvorto
Jan 22nd, 2003, 10:45 AM
I have Crystal Report Writer 85.. I want my vb6 app to run the report that will export the data to EXCEL.
My questions are:
Do I need this code?
Report.SelectPrinter glbPrinterDriver, glbPrinterName, glbPrinterPort
I know I need:
Set Report = crxApplication.OpenReport("C:\AvedaXL.rpt", 1)
Report.PrintfileType = 19 'EXCEL5
Report.PrintFileName = "C:\Aveda.xls"
Report.PrintOut False
When the report is done, I need to have an EXCEL sheet created.
My questions are:
Do I need this code?
Report.SelectPrinter glbPrinterDriver, glbPrinterName, glbPrinterPort
I know I need:
Set Report = crxApplication.OpenReport("C:\AvedaXL.rpt", 1)
Report.PrintfileType = 19 'EXCEL5
Report.PrintFileName = "C:\Aveda.xls"
Report.PrintOut False
When the report is done, I need to have an EXCEL sheet created.