Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 390
Default Scheduled Task Saving from a Macro

Hi All!

Here's my problem, I have a scheduled task set up to run a macro in Excel
every morning, and then post the revised sheet to a server. Right now,
evertime the program runs, it Excel asks if I want to replace the file that
already exists at the location. Is there anyway I can get Excel to not ask
me the question, or automatically answer the question for itself, so my
scheduled task does not hang until an answer is given?

--
Thanks!
Max
  #2   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 390
Default Scheduled Task Saving from a Macro

i thnk I found the answer on another thread:

Application.DisplayAlerts = False 'Put at begining of code

Application.DisplayAlerts = True 'Put at end of code
--
Thanks!
Max


"Max" wrote:

Hi All!

Here's my problem, I have a scheduled task set up to run a macro in Excel
every morning, and then post the revised sheet to a server. Right now,
evertime the program runs, it Excel asks if I want to replace the file that
already exists at the location. Is there anyway I can get Excel to not ask
me the question, or automatically answer the question for itself, so my
scheduled task does not hang until an answer is given?

--
Thanks!
Max

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
Run Excel macro from Scheduled Task coolthinking Excel Worksheet Functions 4 July 13th 09 03:35 PM
Trying to run a MSQuery from Excel as a Scheduled Task Doug Excel Discussion (Misc queries) 1 March 6th 09 06:01 PM
Running an Excel Macro as a Scheduled Task Dan Youngren via OfficeKB.com Excel Programming 1 June 7th 05 11:32 PM
Scheduled task hanging codemind Excel Programming 3 May 7th 04 03:03 PM
Scheduled Task Matt. Excel Programming 4 April 6th 04 03:07 PM


All times are GMT +1. The time now is 07:09 PM.

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

About Us

"It's about Microsoft Excel"