Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default excel programming

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default excel programming

Hi,

Application.displayalerts=false

close your file

Application.displayalerts=true

Mike

"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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,117
Default excel programming

see your answers at your other post.
susan


On Jan 15, 2:49*pm, 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


Reply
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
Programming in Excel VBA or ??? stevec Excel Discussion (Misc queries) 4 December 11th 07 06:56 PM
excel programming Wendy Elizabeth Excel Programming 0 June 26th 07 10:33 PM
ExCel programming Jae[_2_] Charts and Charting in Excel 2 March 6th 07 07:44 PM
Excel Programming Dan Gorman Excel Programming 3 December 3rd 03 11:34 PM
Excel Programming. Aravind[_2_] Excel Programming 0 September 10th 03 07:39 AM


All times are GMT +1. The time now is 06:28 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"