I have several files with a specific word in each of the file names - let’s say it’s “blue” but the rest of the text in the file names is different.
Is there a way to copy all of them and have exactly the same name but change “blue” to “orange” using vba?
To give a simple example, let’s say I had two files in a folder on my Desktop called “Blue”.
And within that folder called “Blue” I had two files called
NewBlue
OldBlue
Is there a way to copy those files but put them into a new folder called “Orange” on the Desktop and have the copies renamed to
OldOrange
NewOrange?
Is there a way to copy all of them and have exactly the same name but change “blue” to “orange” using vba?
To give a simple example, let’s say I had two files in a folder on my Desktop called “Blue”.
And within that folder called “Blue” I had two files called
NewBlue
OldBlue
Is there a way to copy those files but put them into a new folder called “Orange” on the Desktop and have the copies renamed to
OldOrange
NewOrange?