VBA code to get the variable value of javascript function(Web Application) RRS feed

  • Question

  • Hi,

    In web application i have a java script function i need the variable value through vba code.

    Javascript function

    function abc()


    String abcVar="abc123"


    I need abavar value through vba code

    when i run the vba code I need output as abc123




    Monday, September 28, 2015 6:20 PM

All replies

  • I answered this already.  You can't read a javascript variable with VBA.  Save it as hidden field in HTML then read it.  The answer doesn't change just because you asked it twice.
    Monday, September 28, 2015 6:47 PM