If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Save a report automatically with date appended to file name
Is there a way to output a report using a macro and have
the file name be modified to include the current date? (i.e. instead of report.xls have it read report071904.xls or something along those lines) Thank you! Bryan |
#2
|
|||
|
|||
Save a report automatically with date appended to file name
I have recently used the Transfer Text DoCmd attached to a
command button on a form. Below is that code. Perhaps you can somehow fit it in a macro. CI Export = export spec qryExport = query DoCmd.TransferText acExportDelim, "CI Export", "qryExport","C:\ReportName_" & Format(Now (), "mmddyy_hh_nnAM/PM") & ".txt" -----Original Message----- Is there a way to output a report using a macro and have the file name be modified to include the current date? (i.e. instead of report.xls have it read report071904.xls or something along those lines) Thank you! Bryan . |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Display Parameter from Form on Report | sara | Setting Up & Running Reports | 10 | July 19th, 2004 04:54 PM |
Unsafe Attachments | Ron | Installation & Setup | 2 | June 9th, 2004 01:55 AM |
how do you save a file with the date automaticly | DonP | Setting Up & Running Reports | 4 | June 8th, 2004 01:04 PM |
Product Key for Office XP | P.G.Indiana | Setup, Installing & Configuration | 1 | June 7th, 2004 03:22 AM |
Locked for editing??? | Barbie | Setting up and Configuration | 1 | April 27th, 2004 04:40 AM |