?
Solved

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

Posted on 2004-09-16
5
Medium Priority
?
440 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you work with Word a lot, you probably use styles. If you use styles a lot, you've probably balled your fist more often than not when working with the ribbon. In Word 2007/2010, one of the things that I find missing when using styles is a quic…
The Selection object is designed for user interaction. It has a Range property, so it can be used in most places that a Range object can. Recorded macros must use the Selection because they are simply copying what the user is doing. A Range prope…
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
Suggested Courses

800 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