#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Run quietly

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



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Run quietly

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

Private Sub Workbook_Open()
Application.WindowState = xlMinimized
End Sub

--

Vasant


"cogent" wrote in message
...
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





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Run quietly

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

W
"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
Put the following code in the ThisWorkbook module of the workbook:

Private Sub Workbook_Open()
Application.WindowState = xlMinimized
End Sub

--

Vasant


"cogent" wrote in message
...
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







  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Run quietly

Shell "cmd.exe", vbMinimizedNoFocus

--

Vasant

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

W
"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
Put the following code in the ThisWorkbook module of the workbook:

Private Sub Workbook_Open()
Application.WindowState = xlMinimized
End Sub

--

Vasant


"cogent" wrote in message
...
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









  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Run quietly

Alright!

"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
Shell "cmd.exe", vbMinimizedNoFocus

--

Vasant

"cogent" wrote in message
...
Thank you very much. out of curiosity is there any way to accomplish

the
same objective with the Shell window (ie DOS?).

W
"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
Put the following code in the ThisWorkbook module of the workbook:

Private Sub Workbook_Open()
Application.WindowState = xlMinimized
End Sub

--

Vasant


"cogent" wrote in message
...
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











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
Open a File "Quietly" cogent Excel Programming 2 May 7th 04 05:28 AM


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