A
Alan
Hi
Can this methods take the results of one of my report
i have a report name Report_Monthly Sales Report which when someone clicks a
customer and month they want, press preview button the report then show a
preview of it.
what i've got then is a command button so they can export to excel with
formattting
but everytime i press it i get an error saying
cannnot find object 'Report_Monthly Sales Report' but this is the name of
the report i want to send.
is this possible
my code below
Private Sub Command20_Click()
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9,
"Report_Monthly Sales Report",
"F:\Accounts\Projects\Analysis\Billlings\DSICMM\Access\MonthlySalesReport",
True
Call
ModifyExportedExcelFileFormats("\\F:\Accounts\Projects\Analysis\Billlings\DSICMM\Accessz\MonthlySalesReport", "Report_Monthly Sales Report")
End Sub
Can this methods take the results of one of my report
i have a report name Report_Monthly Sales Report which when someone clicks a
customer and month they want, press preview button the report then show a
preview of it.
what i've got then is a command button so they can export to excel with
formattting
but everytime i press it i get an error saying
cannnot find object 'Report_Monthly Sales Report' but this is the name of
the report i want to send.
is this possible
my code below
Private Sub Command20_Click()
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9,
"Report_Monthly Sales Report",
"F:\Accounts\Projects\Analysis\Billlings\DSICMM\Access\MonthlySalesReport",
True
Call
ModifyExportedExcelFileFormats("\\F:\Accounts\Projects\Analysis\Billlings\DSICMM\Accessz\MonthlySalesReport", "Report_Monthly Sales Report")
End Sub