CustomTaskPane.DockPosition property (Office)
Gets or sets an enumerated value specifying the docked position of a CustomTaskPane object. Read/write.
Syntax
expression.DockPosition
expression An expression that returns a CustomTaskPane object.
Return value
MsoCTPDockPosition
Remarks
Defaults to Right for right-to-left languages and Left for left-to-right languages.
The value of this property can be set to one of the following MsoCTPDockPosition constants.
Name | Value | Description |
---|---|---|
msoCTPDockPositionBottom | 3 | Dock the task pane at the bottom of the document window. |
msoCTPDockPositionFloating | 4 | Don't dock the task pane. |
msoCTPDockPositionLeft | 0 | Dock the task pane on the left side of the document window. |
msoCTPDockPositionRight | 2 | Dock the task pane on the right side of the document window. |
msoCTPDockPositionTop | 1 | Dock the task pane at the top of the document window. |
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for