none
Office.EventType.DocumentSelectionChanged(in Excel) not working in all web browsers RRS feed

  • Question

  • I am trying to add  DocumentSelectionChanged event handle in Excel online document (tested in all browsers). Creating this event is failing from last 5 days. Please look into this issue immediately.

    P.S: Same event working fine in Excel 2013 desktop environment

     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

    Monday, October 19, 2015 7:16 AM

All replies