Re: disabling/enabling a control on a menu

Tech-Archive recommends: Speed Up your PC by fixing your registry



Sub ToolsProtectUnprotectDocument()

Msgbox "The facility to change the protection status of this document has
been disabled."

End Sub

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Fred Kruger" <FredKruger@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:29353248-DA1C-44AD-A4DB-CEEB9CA4CEA6@xxxxxxxxxxxxxxxx
Doug

What is the could please you have only sent the message box wording.

Fred

"Doug Robbins - Word MVP" wrote:

Create a macro in the template from which the documents are created with
the
name of ToolsProtectUnprotectDocument containing the following code:

Msgbox "The facility to change the protection status of this document has
been disabled."

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Fred Kruger" <FredKruger@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:26D2C2A4-4718-41BC-896A-907D5866665A@xxxxxxxxxxxxxxxx
Can anyone give me a easy way of setting the protect/unprotect document
control in the tools menu to prevent it being used with specific
documents
i
create. I know i can use the enable true/false but how can i specify
this
specific control without having to scroll through all the controls. I
know
it
has a specific control ID can I use this to select it if so how??

cheers

fred





.



Relevant Pages

  • Re: Gerritsen Sentenced
    ... my words' meaning or context, specifically the context in which I might ... Why, Leonard, you have often committed libel and outrage and you are known to be one who cannot control himself in here! ... This newsgroup has been out of control for a long time. ... You aren't a radio amateur. ...
    (rec.radio.amateur.policy)
  • RE: Fail to load scdb.dll
    ... > command line as a try to see if you can open the item on the control panel, ... > if not the problem should be caused by some third party software caused the ... > Microsoft CSS Online Newsgroup Support ... > This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: Using QuickParts in Protected Word 07 Document
    ... protection of the text was lost. ... control, so it encloses the whole page. ... macro to unprotect, manipulate the document, and reprotect. ... I found that entering the first four characters of an autotext name ...
    (microsoft.public.word.docmanagement)
  • Re: Using QuickParts in Protected Word 07 Document
    ... protection of the text was lost. ... control, so it encloses the whole page. ... macro to unprotect, manipulate the document, and reprotect. ... I found that entering the first four characters of an autotext name ...
    (microsoft.public.word.docmanagement)
  • Re: Using QuickParts in Protected Word 07 Document
    ... I did a cursory test after reading your response and found a text control I ... when the document is saved in the .doc format, so the protection of the text ... unprotect, manipulate the document, and reprotect. ... department I support heavily rely on autotext. ...
    (microsoft.public.word.docmanagement)