View Single Post
  #4   Report Post  
Posted to microsoft.public.word.newusers
Greg Maxey[_2_] Greg Maxey[_2_] is offline
external usenet poster
 
Posts: 668
Default Warning if opened read-only?

Yes it is a macro.

For help installing and using the macro see:
http://www.gmayor.com/installing_macro.htm

Also see: http://word.mvps.org/faqs/macrosvba/DocumentEvents.htm

If your document is tied to a specific template you would probably want to
use Document_Open.


"Sesquipedalian Sam" wrote in message
...
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.