Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 964 Bytes

Word.View.ShowFirstLineOnly.md

File metadata and controls

49 lines (29 loc) · 964 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
View.ShowFirstLineOnly property (Word)
vbawd10.chm161808392
vbawd10.chm161808392
Word.View.ShowFirstLineOnly
16b67deb-e65d-10ac-f856-4f7df0a4ccbc
06/08/2017
medium

View.ShowFirstLineOnly property (Word)

True if only the first line of body text is shown in outline view. Read/write Boolean.

Syntax

expression. ShowFirstLineOnly

expression An expression that returns a 'View' object.

Remarks

This property generates an error if the view isn't outline or master document view.

Example

This example switches the active window to outline view and hides all but the first line of body text.

With ActiveDocument.ActiveWindow.View 
 .Type = wdOutlineView 
 .ShowFirstLineOnly = True 
End With

See also

View Object

[!includeSupport and feedback]