Excel-VBA Command posting on behalf of a client

Options
RogelynMayAgustin
edited June 30 in Eikon COM

Could you please give me an Excel-VBA command to call the Workspace-Excel Menu-command

Excel Menu “Workspace” -> Options -> Online -> “Shut Down”

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @RogelynMayAgustin

    Thank you for reaching out to us.

    As far as I know, the Workspace Excel Add-ins expose several WorkspaceRefreshXXX functions for VBA.

    However, I’m not sure whether they provide any function to shut down the connection via VBA.

    Please contact the Workspace Excel support team directly via LSEG Support to verify this.

  • @RogelynMayAgustin We do not have such programmatic control of the Workspace Add-In - the preferred way of launching the Workspace Add-In is to set it up to auto-load and auto-login. There is currently no programmatic way of logging off or unloading the Workspace Excel Add-In. We are investigating supporting the play/pause functionality programmatically.

  • Hi @jason.ramchandani01 , I have relayed the same to the client and here's client's response:

    It is unfortunate that I can not shut down from VBA.

    In your workspace Addin within Excel, there is a Menu Command Workspace->Options->Online->“Shut down”.  This closes also the back ground processes, which is exactly what we want.

    Is it really not possible to call this Menu Command from VBA?

    In the wider picture, there is no time-out to close the background processes, there is also no executable to do so, and with no VBA command, the background tasks cannot be closed from code or time ever. Very odd.


    Can you please advise?

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    According to the response from Jason, it is not possible to call that menu command from VBA.

    However, you may provide feedback to the product team by submitting this as an enhancement request for the Workspace Excel Add-ins.