Protected documents and shapes

F

Fuzzhead

I have documents where a page or two are protected in the document. My
problem is when I come across one of these documents none of my macros for
added shapes works correctly on the non-protected pages. It will not let me
edit any shapes either. I can change text on these pages. Does Word lock up
shapes for the whole document even though protection is for only 1 or 2
pages? If that is the case is there a way to fix this? Any help with is would
be appreciated.

Fuzzhead
 
J

Jonathan West

Fuzzhead said:
I have documents where a page or two are protected in the document. My
problem is when I come across one of these documents none of my macros for
added shapes works correctly on the non-protected pages. It will not let
me
edit any shapes either. I can change text on these pages. Does Word lock
up
shapes for the whole document even though protection is for only 1 or 2
pages?

Unfortunately yes
If that is the case is there a way to fix this? Any help with is would
be appreciated.

Temporarily unprotect the document, change the shapes, reprotect.
 
F

Fuzzhead

Hi Jonathan,

Thanks for the reply even if it was bad news. I hope Microsoft is working on
fixing this.

Fuzzhead
 
J

Jay Freedman

No, Microsoft is definitely _not_ working on "fixing" this because
they don't think it's "broken". What they're doing instead, starting
with Word 2007, is providing content controls that do much the same
things as form fields (plus a lot more) but don't require the document
to be protected at all. Protected forms will eventually fade into the
museum of dead features. Unfortunately, in this first pass they seem
to have forgotten to include a check box type among the content
controls.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 
F

Fuzzhead

Well I guess that’s too bad for all of us who don’t have Word 2007.

If I unprotect the document, is there a way take if an end user clicks in a
table that it will autopen my form? That way the information is entered in
the same way ever time using the form.

fuzzhead
 
J

Jay Freedman

You can insert a MacroButton field in your protected form, and have it
call the macro that displays the userform. MacroButtons still work
even when the document is protected. The macro can then unprotect the
document, insert the shapes or data where they're needed, and
reprotect.

For the MacroButton/macro technique, see
http://www.word.mvps.org/FAQs/TblsFldsFms/HLinksInForms.htm. Note
especially the macro that makes the MacroButton field activate with a
single click.

For the reprotect, note that you should include the parameter
NoReset:=True. See
http://www.word.mvps.org/FAQs/MacrosVBA/TurnFmFlfResetOff.htm.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top