我正在尝试在 Excel 在线文档中添加 DocumentSelectionChanged
事件句柄(在所有浏览器中测试)。从过去 15 天开始,创建此事件失败。
请帮帮我
P.S:同一事件在 Excel 2013 桌面环境中运行良好
Office.context.document.addHandlerAsync(Office.EventType.DocumentSelectionChanged, function(eventArgs) {
console.log(eventArgs);
}, function(asyncResult) {
console.log(asyncResult);
});
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
最佳答案
感谢您的耐心等待。我很高兴地告诉您,此修复程序已部署,并且现在可在所有网络浏览器上运行。再次感谢您提交反馈。
干杯, 天空
关于office-addins - Office.EventType.DocumentSelectionChanged(在 Excel 中)不适用于所有 Web 浏览器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33542902/