PASSWORD PROTECTED HEADER AND FOOTER ONLY

G

Guest

I try to find proper solution HOW TO PREVENT USERS FROM ACCESSING PASSWORD
PROTECTED HEADER AND FOOTER in MS Word 2003 and 2007 for 3 months by now…
???!!!

I find two solutions - one I figured how, second, not for a million years…
Even more, few more questions reviled during this above discovering HOW TO…?
I try to contact 2 MVP's already, both failed with the proper result for me
on the above question.

FIRST PROCEDURE THAT I FIGURED HOW TO (Article ID 888184):
----------------------------------------------------------------------------

To protect the text that is in the header and the footer of a Word document
from changes, follow these steps:
Open the Word document that contains the header and the footer that you want
to protect from changes. Do not open the header or the footer of the
document.

1. Make sure that you are at the top of your Word document: to do this,
press CTRL+HOME.
2. On the Insert menu, click Break.
3. In the Break dialog box, click Continuous under Section break types, and
then click OK.
4. On the Tools menu, click Protect Document.

Now, in Microsoft Office Word 2003, follow these steps:
1. In the Protect Document task pane, click to select the Allow only this
type of editing in the document check box under Editing restrictions, and
then change the box to Filling in forms.
2. Click Select sections.
3. In the Selection Protection dialog box, click to clear the Section 2
check box, and then click OK.
4. Under Start enforcement, click Yes, Start Enforcing Protection.

-------------------

THIS ACTUALLY WORKS 100%, BUT…, I need functions such us Descending and
Ascending, which was not available any more after above procedure!!!

Better understand, I only want to prevent users from accessing Header and
Footer, everything else in the "BODY" of the Document MUST BE FULLY EDITABLE
TO ALL USERS, WITH ALL NORMALL MS WORD FUNCTIONS AND ABILITIES FOR EDITING!!!

Than I experiment with ONLY FOR READING Protection and setup Group to: All.
Unfortunate, that, change the color (YELLOW) of everybody allowed part of the
Document to be editable in full, and even that function of MS Word was with
some restrictions: Underline does not work, many normal and classic MS word
functions also did not work any more after protection was activated…

Even further when I want to Save my .doc / .docx Document to .dotx Document,
the Password protection was not remembered at all, not just one single
time!!!???
- Is this a bug in MS Word 2007 .dotx format???!!!
************************************




SECOND PROCEDURE THAT I DID NOT FIGURED TOTALLY (Article ID ?):
----------------------------------------------------------------------------------

Last thing that I try, with a polite advice of Doug Robbins - Word MVP, is a
proper solution from another respectful Microsoft MVP, Bill Coan, via:
http://www.word.mvps.org/FAQs/Customization/ProtectWord2000PlusHeader.htm .
In fact, I really think that this is finally solution for me, but the
understanding of all this to common user is really difficult, even
impossible...

I will try to explain shortly what I did, following above Webpage by Bill
Coan:

1. I open my earlier created Word Document (template / .dot).
2. Than I press ALT+F11 and that opened Microsoft Visual Basic.
3. The above mentioned Webpage says:

The following code, pasted into the This Document module of a Word 2000
Template, will keep users out of the header and footer of documents based on
that template:

Option Explicit
'reserve memory for an application variable
Private WithEvents wdApp As Word.Application

Private Sub Document_New()
'assign Word to the application variable
If wdApp Is Nothing Then
Set wdApp = ThisDocument.Application
End If
End Sub
________________________________________
Private Sub Document_Open()
'assign Word to the application variable
If wdApp Is Nothing Then
Set wdApp = ThisDocument.Application
End If
End Sub
________________________________________
Private Sub wdApp_WindowSelectionChange(ByVal Sel As Selection)
'quit if active doc isn't attached to this template
If ActiveDocument.AttachedTemplate <> ThisDocument Then Exit Sub
'get out of the header/footer if we're in it
Select Case Sel.StoryType
Case wdEvenPagesFooterStory, wdEvenPagesHeaderStory, _
wdFirstPageFooterStory, wdFirstPageHeaderStory, _
wdPrimaryFooterStory, wdPrimaryHeaderStory
ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
Exit Sub
Case Else
End Select

End Sub




4. The problem is that I don't know where to Paste this Code, because "This
Document Module" existing at least on 3 places here…
Furthermore, in few cases I get even an error: Microsoft Visual Basic:
Compile error: Syntax error.


THAT IS PRETTY MUTCH ALL…

------------------------------------------------------

ONCE AGAIN, I WANT TO CREATE A MICROSOFT WORD 2003 AND / OR 2007 DOCUMENT
(.DOC / .DOCX), OR TEMPLATE (.DOT / .DOTX) that has ALL normally used
abilities and functions fully available to all users, EXCEPT the ability to
change anything in the Header and Footer of that File, without a proper input
Password.
The functions, such us Descending and Acceding must be fully available to
all users, and the marked (one of the way how to protect a Document in MS
Word) "All users" must not coloring text with Yellow color or similar.
I just want to protect Header and Footer of the Document that everybody
cannot accidentally mess up with it content, and that is all.
I never figured that this is so hard, or even impossible to do in MS
Word???!!!


Very great thanks everybody in advanced who can really help me on this
particular problem, and I apologize everybody in advanced for the big novelty
text above, but, I just want to be detailed us possible!!!
 
S

Stefan Blom

For Word 2003, see if this article helps:
http://word.mvps.org/faqs/customization/ProtectWord2000PlusHeader.htm.

--
Stefan Blom
Microsoft Word MVP


in message
I try to find proper solution HOW TO PREVENT USERS FROM ACCESSING PASSWORD
PROTECTED HEADER AND FOOTER in MS Word 2003 and 2007 for 3 months by now.
???!!!

I find two solutions - one I figured how, second, not for a million years.
Even more, few more questions reviled during this above discovering HOW TO.?
I try to contact 2 MVP's already, both failed with the proper result for me
on the above question.

FIRST PROCEDURE THAT I FIGURED HOW TO (Article ID 888184):
---------------------------------------------------------------------- ------

To protect the text that is in the header and the footer of a Word document
from changes, follow these steps:
Open the Word document that contains the header and the footer that you want
to protect from changes. Do not open the header or the footer of the
document.

1. Make sure that you are at the top of your Word document: to do this,
press CTRL+HOME.
2. On the Insert menu, click Break.
3. In the Break dialog box, click Continuous under Section break types, and
then click OK.
4. On the Tools menu, click Protect Document.

Now, in Microsoft Office Word 2003, follow these steps:
1. In the Protect Document task pane, click to select the Allow only this
type of editing in the document check box under Editing restrictions, and
then change the box to Filling in forms.
2. Click Select sections.
3. In the Selection Protection dialog box, click to clear the Section 2
check box, and then click OK.
4. Under Start enforcement, click Yes, Start Enforcing Protection.

-------------------

THIS ACTUALLY WORKS 100%, BUT., I need functions such us Descending and
Ascending, which was not available any more after above procedure!!!

Better understand, I only want to prevent users from accessing Header and
Footer, everything else in the "BODY" of the Document MUST BE FULLY EDITABLE
TO ALL USERS, WITH ALL NORMALL MS WORD FUNCTIONS AND ABILITIES FOR EDITING!!!

Than I experiment with ONLY FOR READING Protection and setup Group to: All.
Unfortunate, that, change the color (YELLOW) of everybody allowed part of the
Document to be editable in full, and even that function of MS Word was with
some restrictions: Underline does not work, many normal and classic MS word
functions also did not work any more after protection was activated.

Even further when I want to Save my .doc / .docx Document to .dotx Document,
the Password protection was not remembered at all, not just one single
time!!!???
- Is this a bug in MS Word 2007 .dotx format???!!!
************************************




SECOND PROCEDURE THAT I DID NOT FIGURED TOTALLY (Article ID ?):
---------------------------------------------------------------------- ------------

Last thing that I try, with a polite advice of Doug Robbins - Word MVP, is a
proper solution from another respectful Microsoft MVP, Bill Coan, via:
http://www.word.mvps.org/FAQs/Customization/ProtectWord2000PlusHeader.htm .
 
G

Graham Mayor

What is the point of this exercise? Any document that you allow a user to
see can be edited. The password protection of parts of the document simply
gets in the way of using the document. If your users cannot be trusted to
use the template properly, don't let them have access to it until they have
had the proper training.

However if you want to pursue this macro 'solution' - see
http://www.gmayor.com/installing_macro.htm to help you with your code
troubleshooting.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
S

Stefan Blom

Sorry, it seems as if I didn't read your initial message very carefully.
:-(

See Graham's reply.
 
G

Guest

First I want to thank you for your quick Reply.
To be able to answer to your questions, it is actually a difficult.

It is not actually an exercise or something.
I try to create a document, finally settled as Memo Template for one short
medicine project, (you can say humanitarian…), for using for one year time,
maximum…
Unfortunate, the education for the people who will use this document at the
end, was barely providing with: "How to use a Mouse, start the Programs on
the PC, and use basics things in MS Office (Word primarily).
The youngest person who will finally use this document has 46 years, and
before 7 weeks never work on PC in his life... And he is now placed to work
in this particular humanitarian project for prox. one year time period, and
he will written just daily reports in MS Word, in this particular document,
and that is all.
It is very difficult, in normal computer and professional workmanship, to
understand, how it is hard to explain someone of mentioned personnel, that I
can fix all his mistakes in the Body of the document (and I work totally pro
bono for these humanitarian short project…), but every time, fix mistakes in
header and footer part of the document (where the addresses, phones, logo and
etc. are placed, on there exact millimeter positions…), it is very difficult
for me to fix all that time, if that accident mistakes should revile in that
specific area of the document.

This is the only reason why I think, somehow, that there is actually an easy
way how to protect header and footer from accessing abilities to everyone
with Password protection or something similar, but I just do not know how...
Finally I will try to use your Macro advice, and for day or two post a
polite answer to it if that was helpful for me or not.
At least, now, I know that there is no normal MS Word function to be able
easily just Password or similar protect header and footer part of the
Document…

Once more thank you for everything...

P.S.: If you ask me, I think that Microsoft should allow this particular
ability in MS Word Docs, although you may easily conclude that this specific
Doc. part Password protection, on some way, defeat the main originate purpose
to normally use the MS Word Document…
 
G

Graham Mayor

There is no easy solution to your problem. You can create a protected form
in which the user can only enter text in the form fields. This will be fine
as long at the users can spell correctly (though you can add macro code to
force a spell check -
http://word.mvps.org/FAQs/MacrosVBA/SpellcheckProtectDoc.htm ). As I
indicated earlier protected forms make normal editing difficult as the
protection switches off a lot of functionality.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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