D
Derek Reed
I need to be able to lock a word master document from VBA. In word from the
outline view when I position the cursor inside the master document and click
the Lock Document icon this works fine but if I record these actions the
macro produced contains the code:
Selection.Range.Subdocuments(1).Locked = Not Selection.Range.Subdocuments( _
1).Locked
If I run this macro I get a message saying the selected member of the
collection does not exist.
Anyone know how to lock a master document from VBA?
outline view when I position the cursor inside the master document and click
the Lock Document icon this works fine but if I record these actions the
macro produced contains the code:
Selection.Range.Subdocuments(1).Locked = Not Selection.Range.Subdocuments( _
1).Locked
If I run this macro I get a message saying the selected member of the
collection does not exist.
Anyone know how to lock a master document from VBA?