Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default find out if a sheet is open by another user

Is there a way to find out in VBA if an xls is open in read/write mode by
someone and who that someone is.
Many thanks,
Dan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default find out if a sheet is open by another user

See the UserStatus Property in VBA Help
--
Gary''s Student - gsnu200790


"Dan" wrote:

Is there a way to find out in VBA if an xls is open in read/write mode by
someone and who that someone is.
Many thanks,
Dan

  #3   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default find out if a sheet is open by another user

UserStatus does not work on a read only file - and I am interested to find
out who is the user that is locking the file, so that does not help me.

on the help file it is written:
"Remarks
The UserStatus property doesn't return information about users who have the
specified workbook open as read-only."

Thank you.

"Gary''s Student" wrote:

See the UserStatus Property in VBA Help
--
Gary''s Student - gsnu200790


"Dan" wrote:

Is there a way to find out in VBA if an xls is open in read/write mode by
someone and who that someone is.
Many thanks,
Dan

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
Why does a Multi-sheet/user file open on sheet two every time? Frustrated in NJ Excel Discussion (Misc queries) 1 January 22nd 10 05:46 PM
why, when i open a work sheet does a blank sheet open as well John Excel Discussion (Misc queries) 2 July 7th 07 06:20 PM
Open workbook macro- find correct month to open? buzzharley[_10_] Excel Programming 8 July 8th 06 04:30 AM
How do I find a file/spreadsheet that Excel says is Already open but I can't find it? nwtrader8 Excel Discussion (Misc queries) 5 June 21st 05 02:16 PM
Find and Open Workbook then copy and move sheet cwilson Excel Programming 0 February 2nd 05 07:29 PM


All times are GMT +1. The time now is 08:30 PM.

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"