LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Close file when inactive for 10 minutes.

Excellent points Dave and Eric! I hadn't thought about the other variables
that could happen, eek... I like the idea of putting the warning on.

I'm also the Microsoft Access person for our company, and would love to get
this switched over to Access, but ... higher powers love Excel and are slowly
moving towards Access.

Do you have the coding I would put to give the Continue or Quit options?
Thanks for your help with this, much appreciated...

Laurie

"EricG" wrote:

Something intermediate that I have done many times is to put a very visible,
impossible to miss warning form that says something like "It's been a long
time since you did anything! Are you still working in the file
'Share_File.xls'? If not, please exit so others can use it." I have two
buttons: "Continue" and "Quit". The user makes the choice.

Also, the thought of making it a shared workbook just crossed my mind...


"Dave Peterson" wrote:

If I were a user of this workbook, I'd be worried--even if I'm not the offender.

If you save that workbook that hasn't been touched in 10 minutes, how do you
know what you're saving?

If that user did something very bad (destroying lots of data or deleting lots of
sheets--either by mistake or on purpose (wanting to save it as a new name)),
then doesn't saving it just make matters worse?

And if you think you can close without saving, I'd hate to be the user who made
an hours worth of intricate changes only to lose them because I got a phone
call.

Heck, I'd hate to be the developer of that ontime procedure when the user
complains that he or she didn't do the damage--the developer did.

Personally, I think that this is a training issue. You have to get the users on
board to make changes and get out.

Even better would be to use a different application--one that supports multiple
concurrent users (Access or any real database program????).

That said, I used to have the same problem. Instead of closing the file
automatically, I'd write a record to a text file on a server that was open to
everyone (but no one knew about!) whenever any opened the workbook or closed it.

Then I'd just open that text file (readonly mode!) to see the last person to
open without closing.



Alberta Rose wrote:

At times someone in our office has a certain file open to which others
need access. If the person hasn't made changes in 10 minutes, I'd like the
file to save and close automatically after this time period. I've tried a
couple of suggestions on this site, but not working. Any help?


--

Dave Peterson

 
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
Close all inactive workbooks without saving Basta1980 Excel Programming 2 October 2nd 08 01:38 PM
close a workbook after 5 minutes Marilyn Excel Discussion (Misc queries) 15 September 18th 08 08:44 PM
Close excel when inactive jennie Excel Programming 3 February 9th 06 08:41 PM
Option in Excel to save a close a workbook inactive for 5 minutes Patricia Peterson Excel Discussion (Misc queries) 4 January 5th 06 05:00 PM
Inactive close Dave Hardy Excel Programming 1 August 12th 03 03:11 PM


All times are GMT +1. The time now is 11:53 AM.

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"