Jonathan
Apologies - I don't think that my request was as specific as it should have
been. What I need to find out is the condition the document has been
"protected for edit". When the document is opened the user will need to enter
a password to unlock the document for edit. Prior to unlocking the document
we want to modify the stse of our addin menu items to be disabled.
Regards
Post by Jonathan WestPost by Andrew WilesIs there any way eithin an addin to determine if a document is currently
locked for edit?
How to check if a file has already been opened by another user
http://www.word.mvps.org/FAQs/MacrosVBA/CheckIfFileOpen.htm
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org