Article ID: 184634
Article Last Modified on 6/17/2005
Sub ConvertSymbol()
Dim dlgFont As Dialog
With Selection
' Check for valid text selection.
' (There must be a selection and
' the selection must be text only.)
If .Type = wdNoSelection Or .Type <> wdSelectionNormal Then
MsgBox "You must select some text to convert."
Exit Sub
End If
' Display the font dialog box to select a non-symbol font.
Set dlgFont = Dialogs(wdDialogFormatFont)
If dlgFont.Display Then
.Cut
.Font.Name = dlgFont.Font
.PasteSpecial DataType:=wdPasteText
End If
End With
End Sub
Symbol Fonts Non-Symbol Fonts
--------------------------------------------
Monotype Sorts Arial
Symbol Chicago
Wingdings Courier New
Times New Roman
181058 OFF98: How to Run Sample Code from Knowledge Base Articles
163435 VBA: Programming Resources for Visual Basic for Applications
Additional query words: wordcon vb vba vbe square boxed garbage incorrect font symbols change changed changing
Keywords: kbbug kbfont kbmacroexample kbdtacode kbpending KB184634