Solved

Unable to create drawing objects in an unprotect section of a protected document

Posted on 2004-09-16
5
426 Views
Last Modified: 2006-11-17
I have a protected MS Word 2000 form/document. Some of the sections in the form with fields are protected, while others are not. By protecting the form, the drawing objects are disabled (cannot draw lines, arrows etc.). Is there a way to have the drawing objects active, at least in the sections that are unprotected? Thanks for your help!
0
Comment
Question by:r1goodwin
  • 3
  • 2
5 Comments
 
LVL 22

Expert Comment

by:Dreamboat
ID: 12077645
Not without unprotecting the document, which could be automated, but not restrict them from entering into protected areas...
0
 

Author Comment

by:r1goodwin
ID: 12085747
In the situation that this document is used unprotecting it would be fine. However it needs to be protected after the drawing objects are added. Re-protecting it erases the values in the form field! Any idea how to prevent losing the form information?
0
 
LVL 22

Accepted Solution

by:
Dreamboat earned 500 total points
ID: 12086674
Not if you use macros to reprotect.

Sub RePro()

ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True, Password:=""

End Sub

It's the NoReset = True that makes it not clear the form fields.

This is not required in newer versions...
0
 

Author Comment

by:r1goodwin
ID: 12086967
That works. Thank you!
0
 
LVL 22

Expert Comment

by:Dreamboat
ID: 12087002
You're quite welcome!
Thanks for the grade!
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you ever need to create a 20 page Word document for some testing purpose? Are you tired of copying & pasting old boring "lorem ipsum" text over and over again, increasing font size and line space in order to make the document 20+ pages long? Look…
I would like to show you some basics you can do with Mailings in MS Word. It´s quite handy feature you can use for creating envelopes, labels, personalized letters etc. First question could be what is this feature good for? Mailing can really he…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question