Hi,
I have been doing a Find for any superscipt or subscript characters, and have been using the Find Dialog box, then clicking super/sub script in the Font properties of the box. I wanted to automate this into a macro I had and so recorded my activity as a macro. It didn’t seem to record the super/sub script bit though
I have used this VBA as an alterrnative, which others may find useful, unless there is a better way using the Find method that I can’t ‘find’!
‘check for superscript / subscript characters and if present show warning
Dim i As Integer, blnF As Boolean
For i = 1 To ActiveDocument.Characters.Count
If ActiveDocument.Characters(i).Font.Subscript = True Or _
ActiveDocument.Characters(i).Font.Superscript = True Then
blnF = True
End If
Next i
If blnF Then MsgBox “There are superscript or subscript characters ” & _
“present in this document!” , vbInformation, _
“Reformat”
Cheers