This method or property is not available because the object refers to a protected area of the document.
- The document contains both protected and unprotected sections.
- The document contains one or more text form fields that do not have the Fill-in enabled option selected. Additionally, the text form field comes before any one of the following elements:
- A check box form field.
- A drop-down form field.
- An ActiveX control from the Control toolbox.
- The macro programmatically defines a Range object on text in an unprotected section in the document.
- The macro uses the Range.Copy or the Range.Paste method.
Service pack informationThis problem is corrected in Office 2003 Service Pack 2.
To resolve this problem, obtain the latest service pack for Office 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
After you install the service pack, follow the steps that are listed in the "More Information" section to set the EnsureFlagsOfProtectedDocForVbaSel registry key and to enable the hotfix.
How to obtain the hotfixThis issue is fixed in the Word 2003 post-Service Pack 1 Hotfix Package that is dated April 21, 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
To do this, follow these steps:
- Start Word 2003, and then open the document or the template.
- On the Tools menu, click Unprotect Document.
- Right-click the text form field, and then click Properties.
- Click to select the Fill-in enabled check box.
- Click OK to close the Text Form Field Options dialog box.
- Repeat steps 3 through 5 for each text form field.
- On the Protect Document task pane, click Yes, Start Enforcing Protection.
- Save the document or the template.
To enable this hotfix, follow these steps:
- Quit Word 2003.
- Click Start, click Run, type regedit, and then click OK.
- Locate and then click to select the following registry subkey: HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Options
- After you select the subkey that is specified in step 3, point to New on the Edit menu, and then click DWORD Value.
- Type EnsureFlagsOfProtectedDocForVbaSel, and then press ENTER.
- Right-click EnsureFlagsOfProtectedDocForVbaSel, and then click Modify.
- In the Value data dialog box, type 1, and then click OK.
- On the File menu, click Exit to quit Registry Editor.
Article ID: 896987 - Last Review: Mar 29, 2017 - Revision: 4