Hello,
I currently have folders full of files that are arranged into subfolders. I need to move the files out of the subfolder into the folder one level up. I need some help creating a macro that will loop recursively through a directory of folders and move the files they contain up one folder in the directory path.

The starting path for the folders will be
"F:\XXXX\1001-1100\1001\Calibration\1001_C123456789\"
"F:\XXXX\1001-1100\1002\Calibration\1002_C456789454\"
"F:\XXXX\1001-1100\1003\Calibration\1003_C784561235\"


An example path of one of the files that needs to be moved is below.


"F:\XXXX\1001-1100\1001\Calibration\1001_C123456789\CAL-xxx-xx-xxxx.pdf

The path for the file after the macro is run would need to look like this.

"F:\XXXX\1001-1100\1001\Calibration\CAL-xxx-xx-xxxx.pdf

Thanks for any help you can provide.