View Single Post
 
Old 12-19-2013, 12:23 PM
Carchee Carchee is offline Windows 7 64bit Office 2007
Advanced Beginner
 
Join Date: Dec 2013
Posts: 46
Carchee is on a distinguished road
Default

Wow this helps out a lot. Thank you fumei and macropod.

Although fumei's code would work it's not quite what I'm looking for, I'm leaning more towards macropod's code. I did fail to mention that the "replaced text" will be different for every folder that I execute the program on, so a simple replace would not be practical or at least I'm too lazy to go into the code each time and change it.

macropod's code is set up to ask the "Text to Replace" and the "Replacement Text" for each file within the folder which is also impractical for my situation as the text being replaced and the new text will be the same in each file. For this reason my code asked the user only once what should be replaced with what.

Sometimes there will be upwards of fifty files needing change and that would take awhile if I had to type it each time. So my next step is to take your code and apply it to mine and it should work....hopefully. I'm fairly new to the coding business.

Again thank you for your help.
Reply With Quote