Error message when you try to unprotect an IRM-protected workbook programmatically in Excel 2003: "Run-time error: 1004" (914199)
The information in this article applies to:
- Microsoft Office Excel 2003
SYMPTOMSConsider the following scenario. You open a workbook that you helped protect by using Information Rights Management (IRM) in Microsoft Office Excel 2003. Then, you try to unprotect the IRM-protected workbook programmatically by using the Unprotect method. In this scenario, the workbook is not unprotected. If you try to help reprotect the workbook programmatically by using the Protect method, the workbook is not reprotected. Additionally, you receive one or more of the following error messages. Run-time error: 1004 Protect
Run-time error '1004':
Application-defined or object-defined error
Unprotect
Run-time error '1004':
Unprotect method of Worksheet class failed STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 3/7/2006 |
---|
Keywords: | KbVBA kbAutomation kbtshoot kbExpertiseBeginner kbprb KB914199 kbAudEndUser |
---|
|