MsoCTPDockPositionRestrict enumeration (Office)

Specifies restrictions on the docking behavior of the custom task pane.

Name Value Description
msoCTPDockPositionRestrictNoChange 1 There is no change from the current restriction setting for the task pane.
msoCTPDockPositionRestrictNoHorizontal 2 Task pane can't be docked to either the right or the left side of the document window.
msoCTPDockPositionRestrictNone 0 No restrictions on docking the task pane.
msoCTPDockPositionRestrictNoVertical 3 Task pane can't be docked to either the top or the bottom of the document window.

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.