Access Report To Excell

access2010

Registered User.
Local time
Yesterday, 20:04
Joined
Dec 26, 2009
Messages
1,118
I would like to help an agency that I volunteer at to export from within MsAccess 2003 a reports as a Excel file.

The MsAccess report name is - Cheque_Issued_But_Not_ReconciledR
The excel file will be saved as - C:\Bank\Cheque_Issued_But_Not_Reconciled.xls

If possible, can the saved excel file be saved as (Today Monddyy_FileName) C:\Bank\Feb1311_Cheque_Issued_But_Not_Reconciled.xls

We thank you for your help.
 
Report as a Excel File

I would like to help an agency that I volunteer at to export from within MsAccess 2003 a reports as a Excel file.

The MsAccess report name is - Cheque_Issued_But_Not_ReconciledR
The excel file will be saved as - C:\Bank\Cheque_Issued_But_Not_Reconciled.xls

If possible, can the saved excel file be saved as (Today Monddyy_FileName) C:\Bank\Feb1311_Cheque_Issued_But_Not_Reconciled.xls

We thank you for your help.
 
you should export the report's query, not the report
 
I suggest to send a query in Excel.
Look at "DemoQrytoExcelPahtA2000.mdb" (attachment, zip).
Open form and try.
 

Attachments

Re: Report as a Excel File

Greetings,

This will get you started...

Code:
Dim strFilePath as string
strFilePath replace(NOW," ","")
strFilePath replace(strFilePath,":","")
strFilePath replace(strFilePath,"/","")
strfilepath = "c:\Bank\" & strfilepath & "_Cheque_Issued_But_Not_Reconciled.xls
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "Cheque_Issued_But_Not_ReconciledR", strfilepath, True
 
Last edited:
Re: Report as a Excel File

Thank you for your suggestion, but an other forum member has sent me a .Mdb file that we have addapted to our needs.
 
Thank you for your file which we have adapted to our needs.
 

Users who are viewing this thread

Back
Top Bottom