I need to rename many file names to match existing names in our record system. For example, new file is "10W511-803-R1.pdf" and existing file is "SHF-10W511-803^161730106.pdf". Need to rename new to existing.
I need to rename many file names to match existing names in our record system. For example, new file is "10W511-803-R1.pdf" and existing file is "SHF-10W511-803^161730106.pdf". Need to rename new to existing.
Hi there,
See if the following code does what you need:
The highlighted values may be altered to suit your requirements.![]()
Please Login or Register to view this content.
Hope this helps - please let me know how you get on.
Regards,
Greg M
After a little discovery on my part, it works perfectly! How can I change the "H:\Results Files" to use the current folder (wherever that may be)? Much appreciated.
Last edited by gholsted; 07-30-2020 at 09:55 AM.
Hi and welcome to ExcelForum,
How can I change the "H:\Results Files" to use the current folderLewis![]()
Please Login or Register to view this content.
Works perfectly - thanks to you both for your support.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks