Solved

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

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
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:
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now