Determine which user has write access to a file?

R

Robert Crandal

If an Excel 2007 workbook file is currently opened by another user, Excel
will display a message box telling you exactly which user has the
file open.

If Excel knows who currently has write access to a workbook, does
that mean there is a function somewhere that I can use to determine
the username of a file that is currently open?

Thank you!
 
J

James Ravenswood

If an Excel 2007 workbook file is currently opened by another user, Excel
will display a message box telling you exactly which user has the
file open.

If Excel knows who currently has write access to a workbook, does
that mean there is a function somewhere that I can use to determine
the username of a file that is currently open?

Thank you!

Hi Robert:

How about:

Sub dural()
MsgBox ThisWorkbook.WriteReservedBy
End Sub
 
R

Robert Crandal

James

How about....thank you for providing the answer I been
searching for a long time! 8)


Robert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top