Office.HostType enum

Specifies the host Office application in which the add-in is running.

Remarks

Support details

A capital Y in the following matrix indicates that this enumeration is supported in the corresponding Office host application. An empty cell indicates that the Office host application doesn't support this enumeration.

For more information about Office host application and server requirements, see Requirements for running Office Add-ins.

Supported hosts, by platform

Office for Windows desktop Office Online (in browser) Office for iPad OWA for Devices Office for Mac
Access Y
Excel Y Y Y
OneNote Y Y
Outlook Y Y Y Y
PowerPoint Y Y Y
Project Y
Word Y Y Y

Fields

Access

The Office host is Microsoft Access.

Excel

The Office host is Microsoft Excel.

OneNote

The Office host is Microsoft OneNote.

Outlook

The Office host is Microsoft Outlook.

PowerPoint

The Office host is Microsoft PowerPoint.

Project

The Office host is Microsoft Project.

Word

The Office host is Microsoft Word.