Question : FileCopy Function Access VBA

I am trying to copy file string in vba but without success.  The code i am using is...

FName1 = Me.NSPENumber
FileCopy "f:\Quality Systems\Project Management\Associated Documents\FOR0001_00000" & "*.*"), "f:\Quality Systems\Project Management\Associated Documents\FOR0001_" & FName1 & "*.*")

The NSPE number can be anything and the file extension could also be anything.

Any help most welcome.

Answer : FileCopy Function Access VBA

when u specify *.* it means one or more files hence the reason why I thought it would be directories
I have to pop out right now, and wont be back till later. triple x can hopefully finish this off for you

Just leave with this, see of CopyFile works using fso instead of CopyDirectory

Random Solutions  
 
programming4us programming4us