I am creating a search results page using the File System Object. I&#039m trying to follow a couple articles on this site, but I&#039m running into problems. I want to be able to search sub-directories, so I have created the following function:<BR><BR>function GetFiles(objFolder)<BR>For each objFile in objFolder.Files<BR> .....<BR>next<BR><BR>dim objSubFolder<BR>for each objSubFolder in objFolder.SubFolders<BR> GetFiles objSubFolder<BR>Next<BR><BR>end function<BR><BR>The problem is, I get no results on my search results page. If I omit the function (and the objSubFolder code), I get results, though they don&#039t iterate through any subdirectories.<BR><BR>What do I do to get my function to work OR to search through the sub directories??? This is driving me crazy.<BR><BR>Thanks<BR><BR><BR>