Solved

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

Posted on 2004-09-16
5
436 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 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
Shortcuts in Word Just the other day I had a training for Microsoft and they wanted me to show how well the new Windows and Office behaved on a touch device, which by the way is great, but it was only then that I realized that using keyboard shortc…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

729 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