Selection.Flags property

Returns or sets properties of the selection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

'Declaration
Property Flags As WdSelectionFlags
	Get
	Set
'Usage
Dim instance As Selection
Dim value As WdSelectionFlags

value = instance.Flags

instance.Flags = value

The return value of the Flags property is the sum of the WdSelectionFlags constants that apply to the selection.

Setting the Flags property to wdSelAtEOL will make the end of the selection active.

Show: