Mar 13, 2006 #1 Trudye Programmer Joined Sep 4, 2001 Messages 932 Location US I would like to copy a file from one folder to anoher one, I have done it before using .bat. However this time the filename changes daily. Is there a way to do it in VBA? Thanx, Trudye
I would like to copy a file from one folder to anoher one, I have done it before using .bat. However this time the filename changes daily. Is there a way to do it in VBA? Thanx, Trudye
Mar 13, 2006 1 #2 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR Have a look at the Dir function and the FileCopy instruction. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
Have a look at the Dir function and the FileCopy instruction. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Mar 17, 2006 Thread starter #3 Trudye Programmer Joined Sep 4, 2001 Messages 932 Location US Thanx again PHV you save my bacon again. Sorry it took me sooo long to get back to you but this project was back burnered for a minute. Be well, Trudye Upvote 0 Downvote
Thanx again PHV you save my bacon again. Sorry it took me sooo long to get back to you but this project was back burnered for a minute. Be well, Trudye