Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .openpublishing.publish.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"excel-js-1.17",
"excel-js-1.18",
"excel-js-1.19",
"excel-js-1.20",
"excel-js-online",
"onenote-js-1.1",
"outlook-js-preview",
Expand Down
7 changes: 2 additions & 5 deletions docs/excel/excel-add-ins-undo-capabilities.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
---
title: Undo capabilities with the Excel JavaScript API
description: Learn how to preserve the undo stack in your Excel add-ins.
ms.date: 06/04/2025
ms.date: 09/09/2025
ms.localizationpriority: medium
---

# Undo support with the Excel JavaScript API (preview)
# Undo support with the Excel JavaScript API

Excel add-ins support undo behavior. This preserves both actions performed by Excel JavaScript APIs and actions performed by the user in Excel. These actions are saved in the *undo stack* for an individual user, allowing the user to step back through their actions when desired.

> [!NOTE]
> The features described in this article are currently available only in public preview. [!INCLUDE [Information about using preview APIs](../includes/using-excel-preview-apis.md)] To use this feature, you must also join the [Microsoft 365 Insider Program](https://aka.ms/MSFT365InsiderProgram) and download the latest build of Excel.

## Undo grouping

The Excel JavaScript API also supports undo grouping. This allows you to group multiple API calls into a single undoable action for your add-in user. For example, if your add-in needs to make several different updates across multiple worksheets in response to a single user command, you can wrap all those updates in a single group. This is done with the `mergeUndoGroup` property provided to the `Excel.run` function.
Expand Down
6 changes: 3 additions & 3 deletions docs/outlook/get-set-or-add-recipients.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Get, set, or add recipients when composing an appointment or message in Outlook
description: Learn how to get, set, or add recipients to a message or appointment in an Outlook add-in.
ms.date: 08/06/2025
ms.date: 09/09/2025
ms.topic: how-to
ms.localizationpriority: medium
---
Expand Down Expand Up @@ -143,8 +143,8 @@ You can optionally provide a callback function as an input argument to the `setA
>
> In Outlook on mobile devices, be mindful of the following:
>
> - The `addAsync` method is supported starting in Version 4.2530.0.
> - The `addAsync` method isn't supported when a user replies from the reply field at the bottom of a message.
> - The `setAsync` method is supported starting in Version 4.2530.0.
> - The `setAsync` method isn't supported when a user replies from the reply field at the bottom of a message.

```js
let item;
Expand Down