I've been searching for about an hour and cannot figure this out. I am not a programmer and don't know anything about VBA other than I have found some VBA code to do certain things where I can simply copy it and paste it and figure out how to change a specific file name or file path to do it with my files. I do accounting (but this is a personal need for djing/music collection) and while I might consider myself somewhat strong in excel for that because I can use INDEX/MATCH/MATCH and nested if formulas or google how to do certain things in excel itself - in reality I am so far from what some people can do with VBA. The extent is that I know this will use the Replace function and probably asterisks to find filenames that contain what I want to replace. So I hope someone will help provide me code specific to the filepaths and type I provide below:
I want to find all .mp3 filenames that contain "-mkd" and remove that portion of the filename, so replace with blank "". There are other file types that have "-mkd" in the name that I do not want to change - only the mp3 files. There are also files of all types that may contain two dashes "--" where I want only one dash "-". I want to do this in all subfolders of the path shown below.
E:\My Music\!Drum & Bass!\DnB - 2021 Archive\09-September
I will update the VBA code each month for the subsequent months files.
Thank you to anyone willing to help. I've also attached an image to provide more context. Each subfolder is a release... either a single or an EP. There are pictures, playlist, and info files that I want to leave alone unless they have two dashes "--" and only want to remove "-mkd" from the mp3 files.
I want to find all .mp3 filenames that contain "-mkd" and remove that portion of the filename, so replace with blank "". There are other file types that have "-mkd" in the name that I do not want to change - only the mp3 files. There are also files of all types that may contain two dashes "--" where I want only one dash "-". I want to do this in all subfolders of the path shown below.
E:\My Music\!Drum & Bass!\DnB - 2021 Archive\09-September
I will update the VBA code each month for the subsequent months files.
Thank you to anyone willing to help. I've also attached an image to provide more context. Each subfolder is a release... either a single or an EP. There are pictures, playlist, and info files that I want to leave alone unless they have two dashes "--" and only want to remove "-mkd" from the mp3 files.