Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Determining who has an Excel file open

I maintain an add-in on my company's shared drive, and I want to determine
who has the file open at any given time. I can already determine if the file
is open, but how can I obtain a list of users who are accessing the file?

Thanks,
Matthew Pfluger
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Determining who has an Excel file open

This is from a post last year (which I just stumbled across...):

http://support.microsoft.com?kbid=138621
XL: Macro Code to Check Whether a File Is Already Open

http://support.microsoft.com?kbid=291295
XL2002: Macro Code to Check Whether a File Is Already Open

http://support.microsoft.com?kbid=213383
XL2000: Macro Code to Check Whether a File Is Already Open

http://support.microsoft.com?kbid=184982
WD97: VBA Function to Check If File or Document Is Open

the approach is to try to open the file with exclusive access using low
level fileio.


Regards,
Ryan--

--
RyGuy


"Matthew Pfluger" wrote:

I maintain an add-in on my company's shared drive, and I want to determine
who has the file open at any given time. I can already determine if the file
is open, but how can I obtain a list of users who are accessing the file?

Thanks,
Matthew Pfluger

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
Determining the number of open workbooks DKS Excel Programming 6 January 30th 08 01:04 AM
Determining if a file is open using VBA QuietMan Excel Programming 3 September 24th 06 04:21 PM
In Excel - Use Windows Explorer instead of File Open to open file KymY Excel Discussion (Misc queries) 1 August 5th 06 09:59 PM
Determining Whether File Exists Magnivy Excel Programming 9 June 8th 06 04:51 AM
Determining if Other Workbooks Are Open Chaplain Doug Excel Programming 6 May 16th 05 08:12 PM


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