View Single Post
 
Old 11-24-2023, 02:16 PM
Charles Kenyon Charles Kenyon is offline Windows 11 Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,536
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

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
Instructions for Installing Macros from Forums or Websites by Graham Mayor, MVP
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
Reply With Quote