Google Answers Logo
View Question
Q: Micorsoft Word - Protecting Form - For Hammer-GA ( Answered 5 out of 5 stars,   0 Comments )
Subject: Micorsoft Word - Protecting Form - For Hammer-GA
Category: Computers
Asked by: dyermaker-ga
List Price: $10.00
Posted: 05 Jun 2003 13:21 PDT
Expires: 05 Jul 2003 13:21 PDT
Question ID: 213567
The address insertion is working well, until I proctect the form. 
Then I get a Run-time error 4605:
This method or property is not available because the object refers to
a protected area of the document.

I've tested it with sections, but that screws up the formatting.  Is
there any way to make it work with the document protected?  I can put
a copy of the template om my server if that will help you.
Subject: Re: Micorsoft Word - Protecting Form - For Hammer-GA
Answered By: hammer-ga on 05 Jun 2003 13:36 PDT
Rated:5 out of 5 stars
The original article I pointed you at covers this. Here it is again:

Using {MacroButton} fields to insert information from the Outlook
Address Book into documents such as letters  

Look at the section near the bottom. It shows how to unprotect the
document before you start, then reprotect it.

So you'd do something like:

... Do everything
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True

- Hammer
dyermaker-ga rated this answer:5 out of 5 stars
Man, I knew I was just being lazy.  I remembered seeing that somewhere
and couldn't remember where.  Thanks Again.  You're making me look

There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy