D
Darryl
Greetings,
I am running Word 2000. I have a macro that runs when the document is
opened.
It displays a msgbox. I would like to put a check in to see if the name of
the current
document matches a given string.
ie,
if currentdocument.name eq 'z:\documentstore\mydoc.doc' then
msgbox "Please use SAVE AS to rename this document before typing in this
form", , "SAVE AS"
what is the appropriate syntax to achieve this ?
thanks,
D
I am running Word 2000. I have a macro that runs when the document is
opened.
It displays a msgbox. I would like to put a check in to see if the name of
the current
document matches a given string.
ie,
if currentdocument.name eq 'z:\documentstore\mydoc.doc' then
msgbox "Please use SAVE AS to rename this document before typing in this
form", , "SAVE AS"
what is the appropriate syntax to achieve this ?
thanks,
D