Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 285483 - Last Review: January 29, 2007 - Revision: 2.5
PPT2002: Macro to Programmatically Change Encryption Provider Setting Does Not Work as Expected
This article was previously published under Q285483
SYMPTOMS
When you run a Microsoft Visual Basic for Applications (VBA) macro to change the encryption provider setting, the macro may run without error, but the setting is not changed as expected.
CAUSE
This behavior occurs when all of the following conditions are true:
- The PasswordEncryptionProvider and PasswordEcryptionAlgorithm settings are set to strings that are spelled correctly.
-and- - The PasswordEcryptionAlgorithm setting is in the correct case.
-and- - The PasswordEncryptionProvider setting is not in the correct case.
The
PasswordEncryptionProvider setting is case-sensitive, but does not cause a run-time error if the value is in not in the correct case.
MORE INFORMATION
If you set either the
PasswordEncryptionAlgorithm or
PasswordEncryptionProvider setting to an invalid value, the macro returns the following run-time error:
Run-time error '-21474672959 (80004005)'
Presentation (unknown member): Failed
The
PasswordEncryptionAlgorithm setting is also case-sensitive, and any case-sensitive errors trigger the same run-time error.
APPLIES TO
- Microsoft PowerPoint 2002 Standard Edition
| kberrmsg kbpending kbprb KB285483 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please