Article ID: 253142
Article Last Modified on 10/11/2006
APPLIES TO
- Microsoft PowerPoint 2000 Standard Edition
This article was previously published under Q253142
SYMPTOMS
In Microsoft PowerPoint 2000, when you create Microsoft Visual Basic for Applications (VBA) code to set the EntryEffect property to ppEffectNone, or use code created in PowerPoint 97 to do this, you receive the following error message:
CAUSE
PowerPoint 2000 does not accept the constant ppEffectNone as a valid EntryEffect value. The help file contains incorrect information on this topic.
WORKAROUND
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. To work around this problem, use the following code block instead:
With ActiveWindow.Selection.ShapeRange.AnimationSettings \\This line assigns the Cut constant to the EntryEffect value. .EntryEffect = ppEffectCut \\ppAnimateLevelNone causes the EntryEffect to not be displayed. .TextLevelEffect = ppAnimateLevelNone End With
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
MORE INFORMATION
EntryEffect Property
For the AnimationSettings object, the EntryEffect property returns or sets the special effect applied to the animation for the specified shape. For the SlideShowTransition object, this property returns or sets the special effect applied to the specified slide transition.
TextLevelEffect Property
The TextLevelEffect property returns or sets a value that indicates whether the text in the specified shape is animated by first-level paragraphs, second-level paragraphs, or some other level (up to fifth-level paragraphs).
If the TextLevelEffect property for the specified shape is set to ppAnimateLevelNone (the default value), or the Animate property is set to False, you won't see the special effect you've applied with the EntryEffect property.
Additional query words: vba pp9 pp2k ppt2k Run-time error -2147188160 80048240 AnimationSettings unknown member
Keywords: kbbug kbdtacode kberrmsg kbpending kbprogramming KB253142