The True\False is checking to see if the string value of RecNum is anywhere in the the subdirectory name of the parent targetpath
For instance, SubDirExists("C:\", "program") finds the "Program FIles" folder in C:\. Kinda like a wild card and returns true. Be careful beciase you are seeing if...