When the JavaScript function specified in the manifest to handle an event runs, code in Office.onReady () and Office.initialize isn't run. We recommend adding any startup logic needed by the event ...