ohh i see it now...so I can change
If UCase(p.Name) = UCase(aryFiles(i)) Then Exit Function
for both isFolderExcluded and isFileExcluded into something like
If UCase(p.path) = UCase(aryFiles(i)) Then Exit Function
if I wanted the complete path for each specific folder or specific file to be excluded....