N
New Greek Student
I'm very new at writing macros for Word and am hoping for some help.
I need to write a macro that will allow me to switch between my current font
and the Symbol font with one keystroke. I don't know how to store the
name of the current font as a variable. Following is what I believe would be
the simplest script, but I don't know how to make it work with VBA.
If Selection.Font.Name is not = "Symbol"
Then
OldFont=.Selection.Font.Name
.Selection.Font.Name="Symbol"
Else
.Selection.Font.Name=OldFont
End If
Thanks for your help.
I need to write a macro that will allow me to switch between my current font
and the Symbol font with one keystroke. I don't know how to store the
name of the current font as a variable. Following is what I believe would be
the simplest script, but I don't know how to make it work with VBA.
If Selection.Font.Name is not = "Symbol"
Then
OldFont=.Selection.Font.Name
.Selection.Font.Name="Symbol"
Else
.Selection.Font.Name=OldFont
End If
Thanks for your help.