chetankotwal's avatar
chetankotwal
Iron Contributor
Aug 19, 2025
Status:
New

Request to Enable Office.BeforeDocumentCloseNotification API for Word and PowerPoint

The Office.BeforeDocumentCloseNotification API is currently supported only in Excel. This feature is very useful because it allows add-ins to show a confirmation dialog before the document is closed, giving users the option to cancel and preventing accidental data loss. We request that Microsoft extend this API to Word and PowerPoint as well. Why it’s important:

  • Prevent accidental closure during editing.
  • Ensure add-in–managed data or metadata is saved before closing.
  • Provide consistency across Office hosts for developers.

This capability is essential for add-ins that need safe closure handling in Word and PowerPoint, just like in Excel.