AutoOpen Macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I program a macro in a specific word doc so that when you open the
doc, a message appears in a dialog box, e.g. "This document is a historical
document. For the most recent version of this document, see http:// . . . "

Thanks
 
Joyce said:
How do I program a macro in a specific word doc so that when you open
the doc, a message appears in a dialog box, e.g. "This document is a
historical document. For the most recent version of this document,
see http:// . . . "

Thanks

Hi Joyce,

While you *can* insert a macro named AutoOpen in the document and use the
MsgBox statement to display the message, whether any given user will see the
message depends on their setting of the macro security level in Tools >
Macro > Security. If the level is set to High, the macro won't run at all.
There may or may not be a notification that macros are disabled. I wouldn't
trust this mechanism to convey the message.

Is there a reason you can't put the information directly in the body or
header of the old document when it's superseded by a new version?

Alternatively, every document can carry a notice that paper copies are not
guaranteed to be current, and point to the server location that always
contains the controlled copy.
 
Back
Top