|
Question : Exporting report to excel
|
|
Is there a way to export a report to excel keeping the format?
|
|
Answer : Exporting report to excel
|
|
>Is there a way to export a report to excel Yes.
>keeping the format? No, the format of an Access report exported to excel will be mangled beyond recognition.
With this in mind, most developers I know will use some form of the below Access VBA line to just move the data, and then handle all of the pretty cosmetic formatting in the Excel spreadsheet. docmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel97, "Access Table or query name", "File Name.xls",,"Excel range if appropriate"
|
|
|
|