Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
True if the specified frame is locked. Read/write Boolean.
Syntax
expression. LockAnchor
expression Required. A variable that represents a 'Frame' object.
Remarks
The frame anchor indicates where the frame will appear in Normal view. You cannot reposition a locked frame anchor.
Example
This example locks the anchor of the first frame in section two of the active document.
Set myRange = ActiveDocument.Sections(2).Range
If TypeName(myRange) <> "Nothing" And myRange.Frames.Count > 0 Then
myRange.Frames(1).LockAnchor = True
End If
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.