Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Who has a workbook open

I have created a workbook that opens a second workbook for
people to enter data.
But if somone else already has this second workbook open
then my workbook opens a read-only copy.
I've got an if statement that prevents people entering
data to a read-only copy, but it would be great to display
the name/ID of the person who does have it open, as would
happen if a person has opened it directly and not via my
workbook.

TIA
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Who has a workbook open

This suggestion by Tom Ogilvy works for me. However, there have been
previous threads concerning reliability,

http://www.google.com/groups?hl=en&l...0d05df4&rnum=5

Tested using Excel 97SR2 on Windows 98SE,

HTH
Paul
--------------------------------------------------------------------------------------------------------------
Be advised to back up your WorkBook before attempting to make changes.
--------------------------------------------------------------------------------------------------------------

I have created a workbook that opens a second workbook for
people to enter data.
But if somone else already has this second workbook open
then my workbook opens a read-only copy.
I've got an if statement that prevents people entering
data to a read-only copy, but it would be great to display
the name/ID of the person who does have it open, as would
happen if a person has opened it directly and not via my
workbook.

TIA


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Who has a workbook open

Yes you can do this programtically.
Have a look here for how to determine if a workbook is Open and by Who.


http://www.xcelfiles.com/IsFileOpen.html


am wrote in message . ..
This suggestion by Tom Ogilvy works for me. However, there have been
previous threads concerning reliability,

http://www.google.com/groups?hl=en&l...0d05df4&rnum=5

Tested using Excel 97SR2 on Windows 98SE,

HTH
Paul
--------------------------------------------------------------------------------------------------------------
Be advised to back up your WorkBook before attempting to make changes.
--------------------------------------------------------------------------------------------------------------

I have created a workbook that opens a second workbook for
people to enter data.
But if somone else already has this second workbook open
then my workbook opens a read-only copy.
I've got an if statement that prevents people entering
data to a read-only copy, but it would be great to display
the name/ID of the person who does have it open, as would
happen if a person has opened it directly and not via my
workbook.

TIA

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: Open closed workbook/Search data tables/Return data to open workbook Hugh Adams Excel Discussion (Misc queries) 0 August 18th 10 02:04 PM
Opening Excel, Book1 opens, remains open with other workbook open DanieB Excel Discussion (Misc queries) 0 September 3rd 09 08:23 AM
how do i open a data workbook when i open a timesheet workbook [email protected] uk Excel Discussion (Misc queries) 2 January 4th 09 04:50 PM
excel 2003 saved file will not open without a blank workbook open Bob Excel Discussion (Misc queries) 4 November 11th 06 04:24 PM
Search open sheets in workbook and insert into open sheet punx77 Excel Discussion (Misc queries) 0 March 6th 06 05:07 PM


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