Office.EventType.DocumentSelectionChanged(在Excel中)不适用于所有Web浏览器 [英] Office.EventType.DocumentSelectionChanged(in Excel) not working in all web browsers
问题描述
我正在尝试在Excel联机文档中添加DocumentSelectionChanged
事件句柄(在所有浏览器中都经过测试).最近15天以来创建此事件失败.
I am trying to add DocumentSelectionChanged
event handle in Excel online document (tested in all browsers). Creating this event is failing from last 15 days.
请在这里帮助我
PS:同一事件在Excel 2013桌面环境中正常运行
Office.context.document.addHandlerAsync(Office.EventType.DocumentSelectionChanged, function(eventArgs) {
console.log(eventArgs);
}, function(asyncResult) {
console.log(asyncResult);
});
OSF.DDA.AsyncResult {值:未定义,状态:失败",错误:OSF.DDA.Error}错误:OSF.DDA.Errorcode:5001消息:发生内部错误."名称:内部错误" proto :OSF.DDA.Errorconstructor:(n,t,i) proto :Objectstatus:失败"值:undefined__proto__:OSF.DDA.AsyncResultconstructor:(n, t) proto :对象
OSF.DDA.AsyncResult {value: undefined, status: "failed", error: OSF.DDA.Error}error: OSF.DDA.Errorcode: 5001message: "An internal error has occurred."name: "Internal Error"proto: OSF.DDA.Errorconstructor: (n,t,i)proto: Objectstatus: "failed"value: undefined__proto__: OSF.DDA.AsyncResultconstructor: (n,t)proto: Object
此处是在 http://aka.ms/R2yi5b
推荐答案
感谢您的耐心配合.我很高兴地告诉您,此修补程序已经部署,并且现在可以在所有Web浏览器上使用.再次感谢您提交反馈.
Thanks for your patience. I am glad to tell you that this fix has been deployed and it is working on all web browsers now. Thanks again for submitting your feedback.
干杯, 天空
这篇关于Office.EventType.DocumentSelectionChanged(在Excel中)不适用于所有Web浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!