Derek is almost surely correct, as all collections are supposed to hava a Count property. But in my own code, I simply do<BR><%<BR>Set theFiles = theCurrentFolder.Files <BR>For Each fileItem in theFiles<BR>%><BR>... whatever ...<BR><% Next %><BR><BR>Done that way, you don't care about the count. If there aren't any files, the FOR loop won't even run once.<BR><BR><BR><BR>
yup thats the code i've got.....and thats the code that throws up the error...eerrr..but for some reason....it now seems to work.....maybe I need a coffee/Jolt or sleep????<BR><BR>Cheers anyway!!!!