Task panes in Office Add-ins
Task panes are interface surfaces that typically appear on the right side of the window within Word, PowerPoint, Excel, and Outlook. Task panes give users access to interface controls that run code to modify documents or emails, or display data from a data source. Use task panes when you don't need to embed functionality directly into the document.
Figure 1. Typical task pane layout
The following images show the various task pane sizes with the Office ribbon at a 1366x768 resolution. For Excel, additional vertical space is required to accommodate the formula bar.
Figure 2. Office 2016 desktop task pane sizes
- Excel - 320x455
- PowerPoint - 320x531
- Word - 320x531
- Outlook - 348x535
Figure 3. Office 365 task pane sizes
- Excel - 350x378
- PowerPoint - 348x391
- Word - 329x445
- Outlook (on the web) - 320x570
Personality menus can obstruct navigational and commanding elements located near the top right of the add-in. The following are the current dimensions of the personality menu on Windows and Mac.
For Windows, the personality menu measures 12x32 pixels, as shown.
Figure 4. Personality menu on Windows
For Mac, the personality menu measures 26x26 pixels, but floats 8 pixels in from the right and 6 pixels from the top, which increases the space to 34x32 pixels, as shown.
Figure 5. Personality menu on Mac
For a sample that implements a task pane, see Excel Add-in JS WoodGrove Expense Trends on GitHub.