I'm using the NAME command in Access to move files from one directory to another and change the name. How do I tell it to include the file's creation date in the filename?
Example: I need "data.xls" to become "mmddyyy data.xls"
strFolder = "C:\my documents\"
strName = "data.xls"
strFile = strFolder & strName
Name strFile AS ???????
Example: I need "data.xls" to become "mmddyyy data.xls"
strFolder = "C:\my documents\"
strName = "data.xls"
strFile = strFolder & strName
Name strFile AS ???????