Re: question about Excel object... (how to save but overwrite)
- From: "SixHouse" <NOSPAM_sixhouse@xxxxxxxxxxxxxxxx>
- Date: Fri, 3 Mar 2006 19:57:12 -0500
thank you!
thats what i was looking for
"Brian McDermott" <No_SPambmcdfc@xxxxxxxxxxx> wrote in message
news:Otyc3guPGHA.5296@xxxxxxxxxxxxxxxxxxxxxxx
Presuming your Excel object is named objXL, insert the following line just
before you attempt to save the file. Set it back to true after the save
has occurred so any future alerts are picked up.
objXL.DisplayAlerts = FALSE
Brian McDermott
QA.com
"SixHouse" <NOSPAM_sixhouse@xxxxxxxxxxxxxxxx> wrote in message
news:OHaLTOrPGHA.128@xxxxxxxxxxxxxxxxxxxxxxx
i run a script that writes output to an excel spread***. im using the
saveAs method to save the spread*** when im done but if the file already
exists i get a prompt asking me if i want to overwrite. since i always
will want to overwrite, how can i save over the existing file without
being prompted.... there must be am argument or something i can pass to
the saveas method... no?
thanks!
.
- References:
- question about Excel object... (how to save but overwrite)
- From: SixHouse
- Re: question about Excel object... (how to save but overwrite)
- From: Brian McDermott
- question about Excel object... (how to save but overwrite)
- Prev by Date: Re: [msh]get-content of large files.
- Next by Date: Re: [msh]get-content of large files.
- Previous by thread: Re: question about Excel object... (how to save but overwrite)
- Next by thread: Re: HTA Msgbox question
- Index(es):