Any idea what piece of code I can use to rename an excel file on my desktop from inside Access, I have seen the simple "kill" command to delete stuff, but wondered if there was a similar one to rename stuff??
I have never seen a specific rename function, but a way of acheiving this, is to use FileCopy function & give the destination file your 'rename' name. Then use the kill function to delete the original file...
Name OldName As NewName ' Move and rename file. Terry L. Broadbent FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.