Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Macro to disable screen saver

In Excel2000, I would like to have a macro that will do something every
14 minutes in order to stop the screen saver and logout from popping
up. It is a work PC and the screen saver and logout are defaulted by
the netork to go on every 15 minutes. I was thinking of something like:

SendKeys ENTER

but I don't want to use ENTER because I want the macro to run another
macro that runs my reports and using the ENTER may make my other macro
not run correctly if every 14 minutes Excel is hitting enter. Is there
a way to sendkeys without sending anything just so that it interupts
the screen saver and logout procedure?

THanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Macro to disable screen saver

snax,

Talk to your system admin about getting an exception to the policy, so that you can turn off your
screensaver.

HTH,
Bernie
MS Excel MVP


"snax500" wrote in message
ups.com...
In Excel2000, I would like to have a macro that will do something every
14 minutes in order to stop the screen saver and logout from popping
up. It is a work PC and the screen saver and logout are defaulted by
the netork to go on every 15 minutes. I was thinking of something like:

SendKeys ENTER

but I don't want to use ENTER because I want the macro to run another
macro that runs my reports and using the ENTER may make my other macro
not run correctly if every 14 minutes Excel is hitting enter. Is there
a way to sendkeys without sending anything just so that it interupts
the screen saver and logout procedure?

THanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Macro to disable screen saver

They said no.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default Macro to disable screen saver


"snax500" wrote in message
ups.com...
In Excel2000, I would like to have a macro that will do something every
14 minutes in order to stop the screen saver and logout from popping
up. It is a work PC and the screen saver and logout are defaulted by
the netork to go on every 15 minutes. I was thinking of something like:

SendKeys ENTER

but I don't want to use ENTER because I want the macro to run another
macro that runs my reports and using the ENTER may make my other macro
not run correctly if every 14 minutes Excel is hitting enter. Is there
a way to sendkeys without sending anything just so that it interupts
the screen saver and logout procedure?

THanks


Havent played with SENDKEYS within Excel nor real-time countdowns within,
but presume you specify which window/application to SENDKEYS to as per
vbscript...so point the "cursor" somewhere safe (say Notepad) before sending
the keystroke every 13-minutes then returning to Excel should proceed
without disrupting the report??

Alternately, search your local driver for either/both wscript.exe or
cscript.exe to see if Windows Scripting is avaiable, and if so, entertain
the Screensaver there so Excel can process the report without distraction.




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
Macro as Screen Saver hmm Excel Discussion (Misc queries) 0 July 19th 06 12:27 PM
Macro to control screen saver helmekki[_25_] Excel Programming 1 October 13th 04 02:54 PM
Excel cannot complete ......... when screen saver is activated. Dwight Trumbower Excel Programming 1 August 19th 04 06:06 PM
XP Screen Saver Timmothy Gransbury Excel Programming 4 April 30th 04 06:21 PM
Turn off Screen Saver by Macro Bill Li Excel Programming 2 October 18th 03 05:26 AM


All times are GMT +1. The time now is 02:27 AM.

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"