Thank you Inhumanoid
But the problem is still there.
I've tried to put the error handling in the calling routine but that doesn't work either
I call this sub from form_load so I think I will make a check if the file exists and f it doesn't then I will create it. Not the smotthest way but it will generate no error for me (I hope)

------------------
On Error Goto Bed
[email protected]




[This message has been edited by onerrorgoto (edited 11-29-1999).]