![]() |
|
#1
|
|||
|
|||
![]()
Trying to find a way to close a Word doc without saving or getting the prompt to save. Tried making a macro I found elsewhere, but didn't work. Ideally I'd like to assign a button in the quick access ribbon or a keyboard stroke. Any ideas?
|
#2
|
|||
|
|||
![]()
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:14 PM. |
#3
|
|||
|
|||
![]()
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:
Last edited by Charles Kenyon; 10-08-2021 at 06:16 PM. |
#4
|
|||
|
|||
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I close my currently open Excel without it saving ? | DBenz | Excel | 1 | 12-10-2020 12:18 PM |
How to automatically prompt for document properties on first save of a document? | dsv | Word | 2 | 10-05-2019 11:02 AM |
![]() |
willy0625 | Word | 5 | 01-08-2014 04:49 PM |
Prompt when close the document | ubns | Word | 15 | 04-29-2012 10:07 PM |
Saving as PDF causes prompt for printable region out of range | chrisxyz | Word | 0 | 02-22-2010 05:58 PM |