Hi,
I am now using this code to export report to excel format
But how to export to excel with data only ?Code:Report.ExportOptions.ExcelExportAllPages = True Report.ExportOptions.DestinationType = crEDTDiskFile Report.ExportOptions.FormatType = crEFTExcel97 Report.ExportOptions.DiskFileName = "D:\CommBackup\" & rs.Fields!MemberCode & "-" & Right(Year(DT1.Value), 2) & Format(Month(DT1.Value), "00") & ".xls" Report.Export (False)


Reply With Quote
If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Bookmarks