Thanks for replying, JP 2112. I found a shorter way to get the value of the variable.
VBA cannot get the variable, but HTML with the help of Javascript (which the website already uses) can. Yet, VBA can, in fact, create create HTML elements and put instructions inside them. So I insert a new element, tell the element to display the javascript variable. The element's display is something that VBA can detect.


[vba]Dim str as string
Dim elem as new htmlBaseElement
Dim doc as htmlDocument
set doc=webBrowser1.Document

elem.setAttribute "id", "Fido"
set elem= doc.AppendChild "Input"
doc.getElemenentById("Fido").setAttribute "value", DBLE-CLK-PARAMS.SKIES

str=doc.getElementByID("Fido").value
set elem=nothing
set doc=nothing
[/vba]