none
OleDispatch Exception RRS feed

  • Question

  • We have a VBA application which processes with Excel.

    This application is performed several times per hour.

    And it takes a few seconds to complete one application processing.

    After completion, Excel gets closed.

    In normal situation, there is no problem.

    However "OleDispatch Exception" error is returned occasionally(per few months).

    We are not sure what is the trigger of this error.

    When we get the error, we suspect Excel gets in something trouble.

    Because the same error is returned when calling Excel.

    Once getting in trouble, then the same error occurs every time by calling Excel until restarting PC.

    After PC is restarted, problem is solved temporarily.

    Tuesday, December 4, 2018 10:00 AM

All replies

  • Hi,

    This is the forum to discuss questions and feedback for Microsoft Excel features, I'll move your question to the MSDN forum for Excel

    https://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

    Regards,

    Emi


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Wednesday, December 5, 2018 1:57 AM