I would like to get the following code snippet:
The macro should check ...
... whether the the current document has not been saved yet (ie. the document's name is just 'document1' or 'document2' etc.) .
If so the macro has to say so in a Msgbox and the macro is to exit.
If the document has already been saved the macro is to go on without coming up with any message.
Help is much appreciated. Thank you very much in advance.