references that was selected:
- visual basic for applications
- Microsoft powerpoint 14.0 object library
- ole automation
- Microsoft office 14.0 object library
how to determine the character's code using Dialogs(wdDialogInsertSymbol) and what other reference(s) should be selected?
thanks.
Sub fdjlas() Dim osh As Shape Dim oSl As Slide
For Each oSl In ActivePresentation.Slides
For Each osh In oSl.Shapes
If osh.HasTextFrame Then
With osh.TextFrame.TextRange
For i = 1 To .Characters.Count
With .Characters(i).Font
MsgBox ("Char number: " & Dialogs(wdDialogInsertSymbol).CharNum)
End With
Next
End With
End If
Next
Next
MsgBox ("done")
End Sub
OUTPUT:
Compile error:
Method or data member not found
MsgBox ("Char number: " & Dialogs(wdDialogInsertSymbol).CharNum)
* the Dialogs gets highlighted