ncssEm Property
Returns or sets a Boolean that specifies that a text range will be enclosed within EM elements, indicating the emphasis style.
expression.ncssEm
expression Required. An expression that returns one of the objects in the Applies To list.
Example
The following example marks all text within the first B element in the active document with the emphasis style.
Sub SetNcssEm()
Dim objSs As IFPStyleState
Dim objLine1 As IHTMLElement
Dim strHTML As String
strHTML = "This is sample text. <br> <b>This is italicized and will appear within Em tags.</b>"
Application.ActiveDocument.body.innerHTML = strHTML
Set objLine1 = Application.ActiveDocument.all.tags("b").Item(0)
Set objSs = Application.ActiveDocument.createStyleState
objSs.gatherFromElement objLine1
objSs.ncssEm = True
objSs.apply
End Sub