Kill Excel silently

  • Thread starter Thread starter normwheatley
  • Start date Start date
N

normwheatley

Hi,
I batch file that queries a database and creates a flat file.
I want to start Excel, make graph of the data and save it as an htm
file. I then want to get out of Excel.

I want to do this automatically twice daily (eg at midnight).

I use Scheduled tasks and a macro to start Excel and create the graph
But Excel won't quit so I've set the ask Scheduler to stop Excel afte
1 minute.

Here's the problem ... I get a message saying that Excel has terminate
unexpectedly and would I like to send an Error Report to Microsoft?!

I cannot turn this message off no matter what Service I stop!

Does anyone have any ideas how I might accomplish my aim?

thanks very much
Nor
 
It's in control panel under system>advanced, click error reporting
and check disable error reporting

--


For everyone's benefit keep the discussion in the newsgroup.

Regards,

Peo Sjoblom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top