Re: Turn off ALL warnings question?
- From: "Brian Wilson" <bwilson@xxxxxxxxxx>
- Date: Thu, 27 Oct 2005 22:08:16 +0100
"Steve" <Steve@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:792CC9A8-8B62-4F62-9DE6-7D4D68EFA819@xxxxxxxxxxxxxxxx
> Does anyone know a way to turn of all warnings when using the Output to
> feature of a macro? I am trying to out but query results to a specific
> excel
> file. I always want to overwrite the current file but do not want to have
> to
> answer the question" File X already exists. Overwrite?" I tried using
> the
> Set warnings feature but that does not include this message. Any
> thoughts?
Why not first delete the file yourself if it exists?
If Len(Dir(strPath))>0 Then
Kill strPath
End If
.
- Prev by Date: Re: Exporting pictures from Access?
- Next by Date: ExportXML File Format Problem
- Previous by thread: Re: Exporting pictures from Access?
- Next by thread: ExportXML File Format Problem
- Index(es):
Relevant Pages
|
|