EventType enumeration

Specifies the kind of event that was raised. Returned by the type property of an EventNameEventArgs object.

Hosts: Access, Excel, PowerPoint, Project, Word
Last changed in Selection 1.1



Enumeration Value Description
Office.EventType.ActiveViewChanged "documentActiveViewChanged" A Document.ActiveViewChanged event was raised.
Office.EventType.DocumentSelectionChanged "documentSelectionChanged" A Document.SelectionChanged event was raised.
Office.EventType.BindingSelectionChanged "bindingSelectionChanged" A Binding.BindingSelectionChanged event was raised.
Office.EventType.BindingDataChanged "bindingDataChanged" A Binding.BindingDataChanged event was raised.
Office.EventType.DataNodeDeleted "nodeDeleted" A CustomXmlPart.dataNodeDeleted event was raised.
Office.EventType.DataNodeInserted "nodeInserted" A CustomXmlPart.dataNodeInserted event was raised.
Office.EventType.DataNodeReplaced "nodeReplaced" A CustomXmlPart.dataNodeReplaced event was raised.
Office.EventType.SettingsChanged "settingsChanged" A Settings.settingsChanged event was raised.


Note: Add-ins for Project support the Office.EventType.ResourceSelectionChanged, Office.EventType.TaskSelectionChanged, and Office.EventType.ViewSelectionChanged event types.

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
Excel Y Y Y
PowerPoint Y Y
Project Y
Word Y Y
Add-in types Content, task pane
Library Office.js
Namespace Office

Support history

Version Changes
1.1 Added Office.EventType.ActiveViewChanged enumeration for new Document.ActiveViewChanged event.
1.0 Introduced