Hello:
Folder Name : XYZ
I Need VB Code to go thru C:\Temp and all of its subfolders to find Folder Named XYZ and change the name to ABC
Please let me know if you have any questions.
Thanks.
Riz
Hello:
Folder Name : XYZ
I Need VB Code to go thru C:\Temp and all of its subfolders to find Folder Named XYZ and change the name to ABC
Please let me know if you have any questions.
Thanks.
Riz
I don't have any questions ... you do
Try here
https://debugvba.com/rename-folder-o...-debugvba-com/
and if you're still stuck ... we'll pitch in
---
Hans
"IT" Always crosses your path!
May the (vba) code be with you... if it isn't; start debugging!
If you like my answer, Click the * below to say thank-you
Hi rizmomin,
Try the following code contained in the attached sample file. This uses a technique called recursion. This particular macro will replace the first SubFolder found ONLY, which may reside in a lower level SubFolder. There is another Macro in the sample file that will replace all matches.
LewisPlease Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks