Run quietly

  • Thread starter Thread starter cogent
  • Start date Start date
C

cogent

Hello again

I have a spreadsheet that runs automatically using Windows scheduler.

How can I make sure that it runs "minimized" or "quiet" so that it does not
disturb me when I happen to be working (on the same machine)?

Thank you.

W
 
Put the following code in the ThisWorkbook module of the workbook:

Private Sub Workbook_Open()
Application.WindowState = xlMinimized
End Sub
 
Thank you very much. out of curiosity is there any way to accomplish the
same objective with the Shell window (ie DOS?).

W
 
Shell "cmd.exe", vbMinimizedNoFocus

--

Vasant

cogent said:
Thank you very much. out of curiosity is there any way to accomplish the
same objective with the Shell window (ie DOS?).

W
 

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

Similar Threads


Back
Top