I cannot figure out why my macro won't work. It seems like the inner For Each loop never gets executed. I'm sure it's me, but I can't seem to get my head around it.
I think the paths in your inner loop have to be absolute (full) paths and cannot contains "~". Try changing that.
Thanks, Airy, I did that without success. The folders I am attempting to work with are designated with the ~ character. Besides that, I have tried running this on other common home-level folders and didn't have any better success.
I didn't mean the "~" from the middle of the filename. I meant the one at the beginning of the folder path which is a shortcut to your home folder. That's not actually part of the filename itself. I think the shell does a proper substitution for you, but since you aren't calling a shell, the substitution isn't made, resulting in a failure to match any files.
Ah-so... I misunderstood. Gotcha now. I'll give that a looksee. Thanx!