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: 151
Default Remotely close a workbook

Hi guys,

I have a number of workbooks which various people update. These are
accessed by a Read only menu workbook which people have open. The problem
I'm having is that people tend to leave these workbooks open on their
computer, thus rendering them uneditable by others.
I tried the ontime timeout code but while this worked fine with one
workbook, if two workbooks start timing out simultaneously then I've found
that they interfere with each other.

What I want to know is if there is a way to save & close a workbook open on
someone else's computer.
I've tried this already by the following means.
The Read Only menu workbook, which everyone uses to open the workbooks, runs
a bit of code every 30 seconds. This checks a folder for text files and
compares the file names of those text files with the file names open editable
workbooks. If they match then the workbook is saved and closed and the text
file deleted.
So in order to save and close a workbook I simply create a text file in this
folder with the same name. This works for me but not with others.

All files are located on a networked drive.

Many thanks in advance.
 
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 New Workbook / Save and Close Current Workbook Joe K. Excel Programming 1 December 7th 07 08:04 PM
Closing a workbook from a macro doesn't close the workbook Dave P Excel Programming 2 July 10th 07 06:16 PM
Disable selection on a new workbook remotely? Jon[_21_] Excel Programming 1 November 25th 05 08:36 PM
Help on Workbook close and workbook save events Adam Harding Excel Programming 1 September 29th 05 04:12 PM
Close a the current workbook and load another specified workbook Adrian[_7_] Excel Programming 4 August 7th 04 05:29 PM


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