Thanks for the quick responses guys. yes you're right, I do need to DIM my variables.

As for the Open function, this is the first time I use it, usually I use an INI file. I wasn't aware that you can't open a file for both reading AND writing. I assumed you can, because the documentation said that the mode numbers for the Open function are cumulative. but i guess it doesn't work for 4+2 .... oh well.. I'll figure another way then.
Thanks again,
_________________________
Network Specialist
Chino Unified School District