HELP with using a Date as file name

J

JT

Is ther a simple way to add a DATE as part of the file name when
exporting a text file?
I.E. ="C:\audit\data_name" & sysdate & ".txt"

Of course this did not work!
 
K

Ken Snell

Aassuming that you want to add the current date:

="C:\audit\data_name" & Format(Date(), "mm-dd-yyyy") & ".txt"
 

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