I don't know any vb, but most programming languages I've used are case sensitive. I noticed that you had a few things that were different cases like "Set" and "set" and "Wscript" and "WSCript" (although I'm not sure if they were just two different variables. If they are, you should change the names to something more obvious so that people can tell them apart easier.

I could be wrong about all of that...could just be a vb thing, but thought I'd point it out anyway.

ac