Yeah that seems to make sense. I inherited this code from a part-time programmer, so the rewrite would place the file in the users MyDocuments, as currently the File might get overwritten if another user calls the procedure from their system.

Thanks