If you have only one window open for a given document, then FileClose and
DocClose both do the same thing. In my view, it doesn't matter which you
use. [Note: If a document contains an AutoClose macro, for example, closing
the last-open window of a given file either way will cause the AutoClose
macro to be executed. If multiple windows on a given document are open, then
DocClose won't fire the AutoClose macro, but FileClose will.]
But, the short answer to your question is "It doesn't matter." At some
fundamental level, however, it might matter if you ever start working with
multiple windows on a given document. If you really want to close the file,
then File - Close is much more efficient, and probably less frustrating. If
you really want to close just a window, then the X is the safer habit to
cultivate. Much depends on your style of working.
Cheers,
--
Herb Tyson MS MVP
Please respond in the newsgroups so everyone can follow along.
http://www.herbtyson.com
kikilein said:
Thanks you very much for this splendid explanation, Herb. This was very
helpful.
Now, if I may ask you another question relating to this. What would be
the
"better" way to close a document assuming you have one document (or
several
others not related) open? Is the FileClose preferred over the DocClose?
Or
does it even matter?
Thanks again.