Output To

P

Phyllis King

I am using an Output To macro to export the results of a
query to an excel file and storing the excel file on a
server. How do I append the system date/time to the file
named in the Output file parameter? The system date/time
should represent the time that the file was created.

Thanks.
 
S

Steve Schapel

Phyllis,

An addaptation of the below as applicable...
="M:\ExcelSheets\YourFile" & Format(Now(),"yymmddhhnn") & ".xls"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top