title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Selection.Fields property (Word) |
vbawd10.chm158662720 |
|
|
15060502-c0cf-1c94-93ba-0db0bb045c66 |
06/08/2017 |
medium |
Returns a read-only Fields collection that represents all the fields in the selection.
expression. Fields
expression Required. A variable that represents a Selection object.
This example adds a DATE field at the insertion point.
With Selection
.Collapse Direction:=wdCollapseStart
.Fields.Add Range:=Selection.Range, Type:=wdFieldDate
End With
[!includeSupport and feedback]