Skip to main content
Learn
Excel Macro: Rename a File or Folder
You can rename and move a specified file or folder using the built-in Name statement in VBA. Download this Excel macro now!
Docs
Name statement
Renames a disk file, directory, or folder. Syntax Name oldpathname As newpathname The Name statement syntax has these parts: Part Description oldpathname […]