LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default excel programming

Let's try two thing:

1. a simple lie
2. a request not to be bothered

Sub dural()
ActiveWorkbook.Saved = True
Application.DisplayAlerts = False
ActiveWorkbook.Close
End Sub

--
Gary''s Student - gsnu200827


"dave glynn" wrote:

I have a vba procedure that closes "n" number of files; each time it is about
to delete the file it forces me to respond manually to confirm that I do want
to close it. To an extent this defeats the purpose of programming in the
first place.

Likewise when I want to save the file at various stages similar
confirmations are required.

Is there any way to avoid these interventions?

With thanks

Dave

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Programming in Excel [email protected] Excel Programming 3 August 17th 06 09:44 PM
Excel Programming [email protected] Excel Worksheet Functions 0 April 14th 06 07:13 AM
Excel Programming Sprad-Dog New Users to Excel 2 July 13th 05 07:12 PM
VBA excel programming VBANewcomer Excel Programming 2 December 10th 04 08:19 PM
Excel Programming aly1cat[_2_] Excel Programming 3 January 7th 04 03:56 PM


All times are GMT +1. The time now is 11:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"