Fix problem with DocumentSelectionChanged event in Excel
Example from this page does not work currently:
document.addHandlerAsync for DocumentSelectionChanged event returns with error 5001
Also the problem is mention in this MSDN question:
This is being looked at.
Note that we also enabled same APIs under Excel1.4. We'll be publishing the docs in next couple of weeks. The new APIs don't seem to have the same issue.
Sameera Perera commented
This issue was originally reported (on MSDN forum) over a month ago, and the feature remains broken to this date. We have Excel AddIns built using these published APIs that are now broken which have major business implications.
Incidentally the sample Mary linked is one of the 10 on http://dev.office.com/getting-started/addins
Clearly, this is a significant feature of the platform, that requires attention!