Office Excel Task Pane - Addin - Run VBS Script RRS feed

  • Question

  • Hi friends,


    I am trying to run the following code in my office addin task pane.


    It doesnt work



    HTML Code


    <script type="text/vbscript">


      Sub Hello()

        MsgBox "Hello"

      End Sub





     <H1>Hello World!  -    VBS Test  </H1>

     <input type="Button" onClick="Hello()"value="VBS  Test Button "/>



    Please can any one tell me why?

    What do i need to do to make it work?

    Cheers Dan :)

    Wednesday, April 5, 2017 3:59 PM

All replies

  • Hello Dan,

    Office Add-in doesn't support VBScript.

    It is based on web technologies like HTML, CSS and JavaScript.

    For more information, please visit Office Add-ins platform overview



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Proposed as answer by Chenchen Li Wednesday, April 19, 2017 7:18 AM
    Thursday, April 6, 2017 3:10 AM