Warning if opened read-only?

S

Sesquipedalian Sam

Every once in awhile, one of my documents will open in Read Only mode.
I think this happens when the backup program that I am using
(Carbonite), which backs up files continually over the Internet, has
the file open at the moment that I am trying to open it in Word.

Whatever the reason, is there a way that I can tell Word to issue a
warning when this happens?

I usually don't notice that this has happened so I go merrily along
making changes until I try to save it. Then I get the message. It
won't allow me to over-write the original document so I have to go
erase it and then save or some such process.
 
G

Greg Maxey

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
 
S

Sesquipedalian Sam

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.
 

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