Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-24-2023, 08:35 AM
satk0 satk0 is offline How to check if a document is unsaved? Windows 10 How to check if a document is unsaved? Office 2019
Novice
How to check if a document is unsaved?
 
Join Date: Nov 2023
Posts: 3
satk0 is on a distinguished road
Question How to check if a document is unsaved?

Hello,





Is there anyway to be noticeably informed when I make any modification to a document and don't save it in Office 2019 like a '*' character before a file name, e.g.
"*unsaved.docx"?


It is especially frustrating for me as the only way to know if a file was modified is when I shut down the MS Office.


Sorry if this question is too obvious and trivial, I just don't use MS products very often .
Reply With Quote
  #2  
Old 11-24-2023, 09:46 AM
Charles Kenyon Charles Kenyon is offline How to check if a document is unsaved? Windows 11 How to check if a document is unsaved? Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,034
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

I do not know for Word 2019, but in Word 2021 it indicates in the Title bar whether the document has been saved and whether saved to the computer or OneDrive. (When saved to OneDrive/SharePoint it simply says Saved.)




On my computer, this is in the top left corner of the Word window.
If the QAT is displayed above the Ribbon, it will be pushed to the right.

Last edited by Charles Kenyon; 11-24-2023 at 02:17 PM.
Reply With Quote
  #3  
Old 11-24-2023, 12:41 PM
satk0 satk0 is offline How to check if a document is unsaved? Windows 10 How to check if a document is unsaved? Office 2019
Novice
How to check if a document is unsaved?
 
Join Date: Nov 2023
Posts: 3
satk0 is on a distinguished road
Default

Thanks for the answer, In Office 2019, I feel like there is no indication whether the file has been modified or not, which is pretty sad.
Reply With Quote
  #4  
Old 11-24-2023, 02:16 PM
Charles Kenyon Charles Kenyon is offline How to check if a document is unsaved? Windows 11 How to check if a document is unsaved? Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,034
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
  #5  
Old 11-25-2023, 07:13 AM
satk0 satk0 is offline How to check if a document is unsaved? Windows 10 How to check if a document is unsaved? Office 2019
Novice
How to check if a document is unsaved?
 
Join Date: Nov 2023
Posts: 3
satk0 is on a distinguished road
Default

Thanks a ton @Charles Kenyon for such a detailed answer,


I would take a look at that macro but having an auto save like the one you mentioned is
totally awesome. I had no idea that such an add-in existed.


Yet, I still have a question, as a Linux user, why is it not open source !?!?!? hahaha


Thanks so much, again
Reply With Quote
Reply

Tags
document, notification, unsaved

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check if a document is unsaved? Check if there is more than one font color used in a document guyglk Word VBA 5 01-28-2019 04:11 PM
How to check if a document is unsaved? 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
How to check if a document is unsaved? Unsaved file contents retrieval Muthukrishnan V Word 1 09-17-2011 10:29 AM
How to check if a document is unsaved? Can you recover an unsaved file? Jay Kinetic Word 3 06-29-2011 01:07 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft