PC Review


Reply
Thread Tools Rate Thread

Determining who has an Excel file open

 
 
Matthew Pfluger
Guest
Posts: n/a
 
      11th Apr 2008
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 With Quote
 
 
 
 
ryguy7272
Guest
Posts: n/a
 
      28th May 2008
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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Determining if a File is Open jer99 via AccessMonster.com Microsoft Access VBA Modules 1 6th Apr 2007 01:25 AM
Determining if a File is Open jer99 via AccessMonster.com Microsoft Access VBA Modules 0 5th Apr 2007 09:51 PM
Determining what process has a file open... Brad Pears Microsoft Windows 2000 Terminal Server Applications 0 15th Jan 2007 06:40 PM
Determining if a file is open using VBA =?Utf-8?B?UXVpZXRNYW4=?= Microsoft Excel Programming 3 24th Sep 2006 04:21 PM
My excel program wont open. I can open an exciting excel file =?Utf-8?B?Z2VvcmdlMTM2MA==?= Microsoft Access 1 12th Jun 2005 11:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:54 AM.