![]() |
|
#4
|
|||
|
|||
|
Ctrl+S is your friend! If the file is unmodified, it does not do anything.
The following macro could be attached to a keyboard shortcut. Code:
Sub SavedDocumentQuery()
' Charles Kenyon 2023-Nov-24
' https://www.msofficeforums.com/word/51694-how-check-if-document-unsaved.html
' Is this document saved?
MsgBox "This document is saved: " & ActiveDocument.Saved, vbInformation, "Is this document saved? True if it is."
End Sub
Assigning Keyboard Shortcuts in Microsoft Word 2007-2021 (365) You could get a lot fancier. The presence of this in Office 2021 indicates that feedback from others was listened to. See also: Automatically backup Word documents by Graham Mayor, MVP |
| Tags |
| document, notification, unsaved |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Check if there is more than one font color used in a document
|
guyglk | Word VBA | 5 | 01-28-2019 04:11 PM |
Restore unsaved files
|
Yisrael | Word | 7 | 04-30-2017 04:24 AM |
| Auto Save, and Recover unsaved->Not working | 56_kruiser | Word | 2 | 11-19-2012 02:13 PM |
Unsaved file contents retrieval
|
Muthukrishnan V | Word | 1 | 09-17-2011 10:29 AM |
Can you recover an unsaved file?
|
Jay Kinetic | Word | 3 | 06-29-2011 01:07 AM |