Need events for Office Web versions of Word and Excel
The following list of events found on the client version of Word and Excel would aid in development of apps that work the same as current client addin apps work.
Excel Open Event
Excel Close Event
Excel BeforeClose Event
Workbook activate event
Word Open Event
Word Close Event
Word beforeClose event
Document activate event

Thank you! We are considering enhancing the platform with some document events like the ones described here. Once we have something more concrete to share we will do so. If there are particular events (e.g. Doc open) that you care the most about do share with us.
21 comments
-
George Ekow-Daniels commented
The following events on both word and excel
onbeforePrint
on Open
BeforeClose
onbeforeshare( to cancel if AIP has classified it as restricted) -
Dawid commented
Hello, any news here? When can we expect the office events to be available in the API?
It's critical for our application's development using Office JS API. -
Anonymous commented
BeforeSave and AfterSave events are crucial for us.
-
衡成飞 commented
When Support????
-
Dustin Lange commented
A “BeforePrint” event like the one in VBA would be great to hide UI elements in a content add-in so they won’t get printed.
-
衡成飞 commented
Waiting!!!!
-
衡成飞 commented
Any change to this lately?
-
Brian NZ commented
Also Access Events:
Application before close
Application Close -
Martin Seifert commented
We would care most about the 'Doc Open' event
-
atti commented
@All: in different but similar feature requirements there is this response (see below) so each of you should take a look:
---------------------------
Thank you for your request!We are collecting API requirements for developing Office Add-ins in Excel, specifically for Events API.
If you are considering moving an existing COM/VSTO/VBA Add-in to Office Add-in, or creating a new Office Add-in in Excel, and have events requirements, please fill the survey below and help us focus on the right set of events and design. We truly appreciate your help!
Thanks!
Office Extensibility Team -
Andrew commented
-
Sean Boyce commented
Still a lot of interest in this. Would like to see:
Save
SaveAs
BeforeSave
Close
NewAs well, more or less in that order of importance. Thanks.
-
SandorDobra commented
Nice+
-
Jim commented
Need events for Outlook too!
-
atti commented
I don't understand why there is Document.SelectionChanged but not Document.DataChanged. What if I have workbook and I want to capture any change there? Why I need to bother with bindings?
Not even talking about the fact that it is really useful to get data BEFORE and also data AFTER the change.
-
atti commented
-
atti commented
Having these events for excel would be great..
WORKBOOK specific:
- BeforeClose
- BeforeSave
- AfterSave
- CalculationStarted
- CalculationEndedSHEET specific:
- BeforeChange
- AfterChange
- CalculationStarted
- CalculationEnded
- Activate
- Deactivate
- BeforeDoubleClick
- BeforeRightClick
- SelectionChange
- FollowHyperlink -
Jim commented
If Office web apps have events added like found on the desktop, developers could develop apps that could more nearly behave like desktop Office applications on the Web Version of the Office applications.
-
Smart Owl commented
The events need for Word and Excel web apps also includes the following events
Save
SaveAs
BeforeSave
Close
New
Windows ActivateHaving events like found on the Word and Excel client is critical for the Office web apps Word and Excel to behave like the client versions and transparent of what environment an Office file was created or worked on and saved.
-
Shaun Logan commented