P
Peter KNAP
Hi.
how to write macro for closing only active document not all the word
application?
in F1 help I found st. like :
ActiveDocument.Close SaveChanges:=wdPromptToSaveChanges
but when user is asked whether he wants to save changes or not there is also
possibility to cancel and when this is done document is not closed. I would
like to manage to close active document without possibolity for cancelling
(just save or not).
regards
Peter.
how to write macro for closing only active document not all the word
application?
in F1 help I found st. like :
ActiveDocument.Close SaveChanges:=wdPromptToSaveChanges
but when user is asked whether he wants to save changes or not there is also
possibility to cancel and when this is done document is not closed. I would
like to manage to close active document without possibolity for cancelling
(just save or not).
regards
Peter.