View Single Post
  #3   Report Post  
Posted to microsoft.public.word.newusers
Sesquipedalian Sam Sesquipedalian Sam is offline
external usenet poster
 
Posts: 126
Default Warning if opened read-only?

On Thu, 19 Nov 2009 19:12:23 -0500, "Greg Maxey"
wrote:


You might try something like this in your normal.dot template or other
globally template Addin:

Sub AutoOpen()
If ThisDocument.ReadOnly Then MsgBox "The document you just opened is read
only."
End Sub


Is that a macro? I'm guessing that it's loke an event macro that runs
whenever a document is opened, right?

Can you post simple instructions for getting it installed? (Or a
pointer to a web page?)

I'm running Word 2007.