Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default How to force Excel wkbk to close

I'm looking for a way to force a workbook to close when a user forgets to
close it. I have found & tried a few postings in this site that set a timer &
close if the user does not respond to an "are you still there" prompt.

They work fine unless the user did not exit the cell. I've been told that
there is no way to force the user out of edit mode. If I can't force that so
the last change can be saved in the cell, is there any way to force the
workbook to close anyway?

I would prefer not to force the application to quit since I don't know what
else they may have open at that time. But we can afford to lose the cell
entry to our own workbook if that is what it would take to close it.

Thanks!



JoAnn
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default How to force Excel wkbk to close

The short answer is no. While the cell is in edit mode no code can possibly
run. If no code can run then there is no automated way to close the book (or
the application).
--
HTH...

Jim Thomlinson


"JoAnn" wrote:

I'm looking for a way to force a workbook to close when a user forgets to
close it. I have found & tried a few postings in this site that set a timer &
close if the user does not respond to an "are you still there" prompt.

They work fine unless the user did not exit the cell. I've been told that
there is no way to force the user out of edit mode. If I can't force that so
the last change can be saved in the cell, is there any way to force the
workbook to close anyway?

I would prefer not to force the application to quit since I don't know what
else they may have open at that time. But we can afford to lose the cell
entry to our own workbook if that is what it would take to close it.

Thanks!



JoAnn

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default How to force Excel wkbk to close

Ok ... thanks
--
JoAnn


"Jim Thomlinson" wrote:

The short answer is no. While the cell is in edit mode no code can possibly
run. If no code can run then there is no automated way to close the book (or
the application).
--
HTH...

Jim Thomlinson


"JoAnn" wrote:

I'm looking for a way to force a workbook to close when a user forgets to
close it. I have found & tried a few postings in this site that set a timer &
close if the user does not respond to an "are you still there" prompt.

They work fine unless the user did not exit the cell. I've been told that
there is no way to force the user out of edit mode. If I can't force that so
the last change can be saved in the cell, is there any way to force the
workbook to close anyway?

I would prefer not to force the application to quit since I don't know what
else they may have open at that time. But we can afford to lose the cell
entry to our own workbook if that is what it would take to close it.

Thanks!



JoAnn

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
How to force close the worksheet without having Excel prompt? Jack Excel Programming 6 July 9th 08 11:22 PM
Creating a Hyperlink from 1 WKBK to open another WKBK and activate Barb Reinhardt Excel Programming 10 May 31st 07 06:45 PM
How do you force excel to save on close Tom Hewitt Excel Discussion (Misc queries) 3 September 21st 06 10:55 AM
Is there a way to force Excel to close workbooks independently? Cam Excel Discussion (Misc queries) 4 February 2nd 06 07:43 PM
Macro to force Excel to close after a given timeframe of inactivit bobm Excel Programming 2 August 12th 05 02:41 AM


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