View Single Post
 
Old 10-08-2021, 12:57 PM
Joe528 Joe528 is offline Windows 10 Office 2013
Novice
 
Join Date: Oct 2021
Posts: 2
Joe528 is on a distinguished road
Default

WOW----IT'S ALIVE, IT'S ALIVE---thank you very much! I learned something new about Word today as I have never used Macros.

Quote:
Originally Posted by Charles Kenyon View Post
Here is a macro, to which you can assign a keyboard shortcut or QAT button:
Code:
Sub CloseNoSave()
    ' Charles Kenyon
    ' https://www.msofficeforums.com/word/47775-close-document-without-saving-prompt.html
    '
      With ActiveDocument
        .Saved = True
        .Close
    End With
End Sub

Last edited by Charles Kenyon; 10-08-2021 at 06:16 PM.
Reply With Quote