If the MEGA Desktop application is already running for a MEGA environment X, an external application (for example an Excel document) can access the data of this environment. The access is made the the API object MegaCurrentEnvironment.
Note that in standard HOPEX installation a certificate is installed with expiration on 3rd of February 2020. If your installation cease to work, please have your administrator sign-in and download the new certificate. Thank you for your understanding. Download Certificate+