Sub FindStyle
Dim strFound as String
With Selection.Find
.ClearFormatting
.Format = True
.Forward = True
.Style = "Header 1"
.Text = ""
.Execute
End With
if Selection.Find.Found then strFound = Selection.Text
End Sub
This captures the text of the named style into a string variable (strFound)
to do with what you will.