Not sure when Graham will be back. This is not the cleanest solution, but I didn't have much time:
Sub ScratchMacro()
'A basic Word Macro coded by Gregory K. Maxey
Dim oTbl As Table
Dim lngRow As Long
Dim oRng As Range
Set oTbl = Selection.Tables(1)
For lngRow = 2 To oTbl.Rows.Count
Set oRng = oTbl.Rows(lngRow).Cells(3).Range
With oRng.Find
.Text = "Domain"
If .Execute Then
oRng.InsertAfter ": "
oRng.Collapse wdCollapseEnd
oRng.Move wdCharacter, 1
oRng.InsertAfter " "
oRng.Collapse wdCollapseEnd
oRng.InsertSymbol Font:="Times New Roman", CharacterNumber:=8211, Unicode:=True
oRng.Collapse wdCollapseEnd
oRng.Move wdCharacter, 1
oRng.InsertAfter " "
oRng.Paragraphs(1).SpaceAfter = 12
End If
End With
Set oRng = oTbl.Rows(lngRow).Cells(3).Range
With oRng.Find
.Text = "Sub-domain"
If .Execute Then
oRng.InsertAfter ": "
oRng.Collapse wdCollapseEnd
oRng.Move wdCharacter, 3
oRng.InsertAfter " "
oRng.Collapse wdCollapseEnd
oRng.InsertSymbol Font:="Times New Roman", CharacterNumber:=8211, Unicode:=True
oRng.Collapse wdCollapseEnd
oRng.Move wdCharacter, 1
oRng.InsertAfter " "
oRng.Paragraphs(1).SpaceAfter = 12
End If
End With
Set oRng = oTbl.Rows(lngRow).Cells(3).Range
With oRng.Find
.Text = "Task Statement"
If .Execute Then
oRng.InsertAfter ": "
oRng.Collapse wdCollapseEnd
oRng.Move wdCharacter, 1
oRng.InsertAfter " "
oRng.Collapse wdCollapseEnd
oRng.InsertSymbol Font:="Times New Roman", CharacterNumber:=8211, Unicode:=True
oRng.Collapse wdCollapseEnd
oRng.Move wdCharacter, 1
oRng.InsertAfter " "
End If
End With
Next
lbl_Exit:
Exit Sub
End Sub