Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 309
Default Timer that auto-closes workbook?

Is it possible (or even wise) to automatically close and
save a workbook after a couple minutes of idle time???
If so, how would you implement the timer?

thank u

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Timer that auto-closes workbook?

Hi,

Is it possible


Yes have a look here
http://www.ozgrid.com/forum/showthread.php?t=42169

Is it wise


Only you can decide. In this portion of the code I've pointed you to you
will need to make a decison, Save or Not Save

Sub CloseMe()
Application.DisplayAlerts = False
ThisWorkbook.Close savechanges:=True ' or false, you choose
Application.displayalerts = True
End Sub

If you don't save what are you discarding=danger
If you do save what garbage are you keeping=danger
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Robert Crandal" wrote:

Is it possible (or even wise) to automatically close and
save a workbook after a couple minutes of idle time???
If so, how would you implement the timer?

thank u

.

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
Uninstall Add-ins when workbook closes Dan Excel Programming 3 January 4th 08 09:56 PM
Esc Key Closes Workbook MSweetG222 Excel Programming 1 April 15th 06 11:56 PM
Run Auto Close when Excel Closes ben Excel Programming 0 October 1st 04 04:25 PM
protect add-in after workbook closes robvan Excel Programming 2 September 28th 04 11:42 PM
Timer for auto shut down Randy[_15_] Excel Programming 1 April 2nd 04 03:32 PM


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