Sorry, but I don't understand.
Please provide a real-world example of:
- File name that you want to rename
- File name AFTER the rename
- Detailed rules for renaming
And, how are you selecting the file(s) to rename?
It would be best to upload your macro so we can see exactly what you are trying to do.
Please read:
Tip: How Do I Get The Best Answer in the Shortest Time?