ncssStrong Property
Returns a Boolean that encloses a given text range within a STRONG element.
expression.ncssStrong
expression Required. An expression that returns one of the objects in the Applies To list.
Example
The following example encloses all B elements in the current document within STRONG elements.
Sub NcssStrongTag()
Dim objSs As IFPStyleState
Dim objLine1 As IHTMLElement
Dim strHTML As String
strHTML = "<b>This is a sample that will be wrapped in a STRONG element.</b>"
Application.ActiveDocument.body.innerHTML = strHTML
For Each objLine1 In Application.ActiveDocument.all.tags("b")
Set objSs = Application.ActiveDocument.createStyleState
objSs.gatherFromElement objLine1
objSs.ncssStrong = True
objSs.apply
Next objLine1
End Sub