View Single Post
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Can I have a Dialog Box pop up when opening a word document?

You could put the following macro in the document

Sub AutoOpen()
MsgBox "Stop! Someone is working on this account."
End Sub

However, if the macro security is set to high, the macro will automatically
be deleted and if it is set to medium, the user will be asked if they want
to allow the macro to run.

The other issue is that this would run whenever the document is opened,
whether or not someone else had it opened.

--
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, originally posted via msnews.microsoft.com

"Lane" wrote in message
...
I have a document that when a person opens it that a dialog box come up to
tell the person to Stop someone is working on this account.