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
Solved

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

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

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 article describes how to use the Send to Mail Recipient command. The instructions apply generally to Office 2007 and later versions, but Microsoft® Word 2013 was used for the specific steps and figures.  What is Send to Mail Recipient? Send…
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 Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

856 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