Kamis, 25 Agustus 2011

[MS_AccessPros] Easy VBA code to change file name question

 

Hello all,

I have code that changes the name of a file in a folder with the data at the end of the file name. It works great however I would like to put a space between the name of the file and the date. I have added the " " in the path but vba does not like anything I try. Below is the code

Thank you

Jim Wagner

Name "W:\BUDGETING_FINANCE\STUDENTWORKER\ReportsArchive\Jim Wagner.pdf" As "W:\BUDGETING_FINANCE\STUDENTWORKER\ReportsArchive\Jim Wagner" & Format(Date, "mmddyyyy") & ".pdf"

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar