Question

About one year ago I developed an app that, among other things, had to select parts of word documents and let them blink... just one line like this

Selection.Range.Font.Animation = MSWord.WdAnimation.wdAnimationBlinkingBackground;

The app worked pretty: if you open those docm documents (they have some macro inside) you can see some part blinking...
Now my customer tried it on a brand new laptop using Office 2013 and, surprise, when you open same word documents blinking effect is missing.

Is there a known reason for this?
Is there a way I can solve it?

Was it helpful?

Solution

According to MSDN, the WdAnimation enumeration has been deprecated:

This object, member, or enumeration is deprecated and is not intended 
to be used in your code.

I can't find any other reference as to why it was dropped, or suggested replacement.

As a workaround, I just changed the background color. Non-blinking.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top