Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2007

Tip: Looking for answers? Try searching our database.

Protected Documents

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LEU - 06 Oct 2007 23:05 GMT
With a protected document if some one tries to edit it, the Protect Document
Pane comes up. Is there a way to have an information box come up telling then
to use the toolbar buttons to edit this document instead of the Protect
Document Pane coming up?

LEU
Graham Mayor - 07 Oct 2007 06:58 GMT
You could use a macro to provide the information eg Use the code as an
autonew macro if you are creating new documents from your template, and/or
autoopen if users are opening the document subsequently. Change sMsg= to the
information you wish to impart.

Signature

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

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

Sub PopUpAdvice()
Dim sMsg As String
Dim sVer As Integer
sMsg = "Refer to status line at bottom of screen for field entry details" _
& vbCr & "Use the toolbar buttons to edit the document"
sVer = Application.version
If sVer < 12 Then
   Assistant.On = True
   Set Balloon = Assistant.NewBalloon
   With Balloon
       .Text = sMsg
       .Button = msoButtonSetOK
       .Animation = msoAnimationBeginSpeaking
       .Show
   End With
Else
   MsgBox sMsg, vbInformation, "User Information"
End If
End Sub

> With a protected document if some one tries to edit it, the Protect
> Document Pane comes up. Is there a way to have an information box
> come up telling then to use the toolbar buttons to edit this document
> instead of the Protect Document Pane coming up?
>
> LEU
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.