I believe "File already exists" is an error, not a warning.
You need to check whether or not the file already exists, and if it does,
delete it before trying to write to it.
To be honest, I'm not sure how you'd do that in a macro: I never use them.
It's simple in a VBA module, though.

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
>I have used "Set Warnings" to No so that I can overwrite regular
> reports and thus delete the older version.
[quoted text clipped - 9 lines]
>
> Robin Chapple
Steve Schapel - 27 Jun 2005 01:08 GMT
Robin,
Doug is right, this can't be done with a macro. You would need to use
the Kill method in a VBA procedure to delete the file first.

Signature
Steve Schapel, Microsoft Access MVP
> I believe "File already exists" is an error, not a warning.
>
[quoted text clipped - 3 lines]
> To be honest, I'm not sure how you'd do that in a macro: I never use them.
> It's simple in a VBA module, though.
Robin Chapple - 27 Jun 2005 08:00 GMT
Thanks Guys,
I hear what you say but I have other macros that make files on a
weekly basis for reporting purposes and they *DO* overwrite the
previous version. They have been running for years.
I'll convert the macro to VBA.
Robin
>Robin,
>
>Doug is right, this can't be done with a macro. You would need to use
>the Kill method in a VBA procedure to delete the file first.
Robin Chapple - 27 Jun 2005 08:12 GMT
Doug and Steve,
Humble pie eating day.
Conversion to VBA was the answer and that is what happened to the
existing ones long ago.
"Old Timer's Disease" is thriving. My apologies.
Robin
>I believe "File already exists" is an error, not a warning.
>
[quoted text clipped - 3 lines]
>To be honest, I'm not sure how you'd do that in a macro: I never use them.
>It's simple in a VBA module, though.