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

Hi

I've created a macro in excel which runs overnight via a batch file in
MS autoschedule. At the end of the program I've used
"Application.Quit" which should shut Excel down and then the .bat file.

It doesn't work and the file remains open - any ideas why not?

Any alternatives?

Thanks in advance

R

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Small yet annoying

Just make sure that
Application.Quit
is preceeded by
Application.DisplayAlerts=False
--
Gary's Student


" wrote:

Hi

I've created a macro in excel which runs overnight via a batch file in
MS autoschedule. At the end of the program I've used
"Application.Quit" which should shut Excel down and then the .bat file.

It doesn't work and the file remains open - any ideas why not?

Any alternatives?

Thanks in advance

R


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
ISERROR,SMALL,INDEX, MATCH, SMALL?? M.A.Tyler Excel Discussion (Misc queries) 1 May 2nd 07 04:08 AM
Annoying pop up Sam Excel Discussion (Misc queries) 2 July 15th 05 02:08 PM
Annoying Pop up box in function silvest[_11_] Excel Programming 1 October 7th 04 07:11 PM
Annoying Pop up box in function silvest[_10_] Excel Programming 0 October 7th 04 05:38 PM
Annoying bug. Shunt Excel Programming 1 August 7th 03 02:05 PM


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