Muokkaa

Jaa


View.SplitSpecial property (Word)

Returns or sets the active window pane. Read/write WdSpecialPane.

Syntax

expression. SplitSpecial

expression A variable that represents a 'View' object.

Example

This example displays the primary footer in a separate pane in the active window.

ActiveDocument.ActiveWindow.View.SplitSpecial = wdPanePrimaryFooter

This example adds a footnote to the active document and displays all the footnotes in a separate pane in the active window.

ActiveDocument.Footnotes.Add Range:=Selection.Range, _ 
 Text:="Footnote text" 
With ActiveDocument.ActiveWindow.View 
 .Type = wdNormalView 
 .SplitSpecial = wdPaneFootnotes 
End With

See also

View Object

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.