Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Test fileOpen

Hello.
I have a list of several files that i want to open in
write mode. It could happen that some of these files are
being allready opened in write mode by other users. How
can i test if the file is opened exclusively by another
user? And if so, is it possible to give a message with the
Excel username of that user?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Test fileOpen

MS has code here that checks to see if any file is open:

http://support.microsoft.com/default...;EN-US;q138621
XL: Macro Code to Check Whether a File Is Already Open (Q138621)

And it's even called "IsFileOpen"

Luis wrote:

Hello.
I have a list of several files that i want to open in
write mode. It could happen that some of these files are
being allready opened in write mode by other users. How
can i test if the file is opened exclusively by another
user? And if so, is it possible to give a message with the
Excel username of that user?

Thanks


--

Dave Peterson

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
Calculate mean of test scores from rows of test answers RiotLoadTime Excel Discussion (Misc queries) 1 July 26th 06 05:14 PM
test..where are my messages..test HT New Users to Excel 0 January 23rd 05 06:23 PM
Macro to run on fileopen for all workbooks aarti Excel Programming 1 May 21st 04 01:37 PM
Using FileOpen Tippy Excel Programming 1 March 4th 04 06:55 PM
Selecting a file path in Excel VBA using FileOpen dialog John Robinson Excel Programming 1 November 1st 03 09:59 AM


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