In previous versions of Word, you could select text, press Ctrl+D to open
the Font dialog box, click the Text Effects tab, and select one of the text
effects that you want to apply to the selected text. In Word 2007, the Text
Effects tab is not available, but you can still apply them to text by using
the following macro.
Sub TextEffects()
Dim animationType As String
animationType = InputBox("Type the name of a text effect." _
& vbCrLf & "Las Vegas lights" _
& vbCrLf & "Blinking background" _
& vbCrLf & "Sparkle text" _
& vbCrLf & "Marching black ants" _
& vbCrLf & "Marching red ants" _
& vbCrLf & "Shimmer" _
& vbCrLf & "None", _
"Text Effects")
With Selection.Font
Select Case animationType
Case "Las Vegas lights"
.Animation = wdAnimationLasVegasLights
Case "Blinking background"
.Animation = wdAnimationBlinkingBackground
Case "Sparkle text"
.Animation = wdAnimationSparkleText
Case "Marching black ants"
.Animation = wdAnimationMarchingBlackAnts
Case "Marching red ants"
.Animation = wdAnimationMarchingRedAnts
Case "Shimmer"
.Animation = wdAnimationShimmer
Case "None"
.Animation = wdAnimationNone
Case Else
MsgBox "No valid text effect was typed."
End Select
End With
End Sub
To install the macro, open the document in which you want to apply text
effects and perform the following steps.
1. If the Developer tab is not shown, click the Microsoft Office Button,
click Word Options, click Popular, and under Top options for working with
Word, select the Show Developer tab in the Ribbon check box.
2. Select the macro in this message and press Ctrl+C.
3. On the Developer tab, click Macros.
4. In the Macros dialog box, under Macro name, type the name of this macro
(Text Effects) and click Create.
5. In the Visual Basic Editor, select the short version of the macro that
was created and press Ctrl+V to replace it with the code that you copied
from this message.
6. Press Ctrl+S to save your changes and close (or minimize) the Visual
Basic Editor.
To run the macro, select some text in your document, open the Macros dialog
box as described in step 4 above or press Alt+F8, select the macro, and
click Run.
For more information about getting started using macros, see my Web page at
http://makeofficework.com/word_macros_the_benefits.htm.
Hope this helps,
Pesach Shelnitz