Re: how to disable save prompt on closing excel file in automated mode
- From: Dave Peterson <ec35720@xxxxxxxxxxxxxxxxx>
- Date: Wed, 06 Jul 2005 13:51:43 -0500
If I want to close another workbook in VBA, I'd use something like:
workbooks("otherworkbook.xls").close savechanges:=false
(false means I want to discard those changes.)
vipag@xxxxxxxxx wrote:
>
> how to disable "Do you want to save the changes to <file name>" manual prompt
> everytime while closing excel files having macros (macro password not known),
> while in automated task mode which is closing and opening files automatically.
--
Dave Peterson
.
- Follow-Ups:
- Re: how to disable save prompt on closing excel file in automated
- From: vipag@yahoo.com
- Re: how to disable save prompt on closing excel file in automated
- References:
- how to disable save prompt on closing excel file in automated mode
- From: vipag@yahoo.com
- how to disable save prompt on closing excel file in automated mode
- Prev by Date: RE: Where does Excel get the default properties without startup file?
- Next by Date: Re: summing numbers with in a cell
- Previous by thread: how to disable save prompt on closing excel file in automated mode
- Next by thread: Re: how to disable save prompt on closing excel file in automated
- Index(es):