Hi All
I am on Sage ERP Accpac 500 (Version 6.0A) and am trying to export report straight to excel without going thru the menu to select options,
For some reason, PDF works,
rpt.NumOfCopies = 1
rpt.Destination = PD_FILE
rpt.Format = PF_PDF
rpt.PrintDir = "C:\tec2.pdf"
rpt.PrintReport
Exit Sub
but it did not work
rpt.SetParam "INCLCHG", "3" ' Report parameter: 79
rpt.NumOfCopies = 1
rpt.Destination = PD_FILE
rpt.Format = PF_XLS
rpt.PrintDir = "C:\tec2.xls"
rpt.PrintReport
Exit Sub
ANy help would be great