Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
lane lane is offline
external usenet poster
 
Posts: 4
Default Can I have a Dialog Box pop up when opening a word document?

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.
  #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.


  #3   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.


  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Can I have a Dialog Box pop up when opening a word document?

If the document is opened by someone, a lock file is created. If someone
else attempts to open that document, a system message reports that the
document is locked and provides the option to open a read only copy. Only
one person can open a document at a time.

--

Graham Mayor - Word MVP

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



"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.



  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Can I have a Dialog Box pop up when opening a word document?


If the document is opened by someone, a lock file is created. If someone
else attempts to open that document, a system message reports that the
document is locked and provides the option to open a read only copy. Only
one person can open a document at a time.

--

Graham Mayor - Word MVP

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



"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.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Header Record Delimiters dialog when opening mailmerge document Emlyn B Mailmerge 4 January 29th 09 10:50 AM
Dialog Box Alert upon opening a mail merge main document Marek Mailmerge 1 May 15th 07 04:13 PM
Notification Dialog Box Open When Opening A Merged Document grwilbourn Mailmerge 2 June 28th 06 06:50 PM
Word Print Dialog box opening slow TTliu Microsoft Word Help 4 February 13th 06 04:59 PM
getting rid of an opening 'dialog" box in a word doc FaithWillBeRewarded Microsoft Word Help 1 October 14th 05 08:08 PM


All times are GMT +1. The time now is 05:30 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"