1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13:
Function nameStyle(str As String) As Integer Dim stile As Object Dim looper As Integer nameStyle = 0 For looper = 1 To ThisDocument.styles.Count If ThisDocument.styles(looper) = str Then nameStyle = looper Exit For End If Next End Function