dim vdoc, vtag
dim i as integer
set vdoc = webbrowser1.document
for i = 0 to vdoc.all.length - 1 '检测所有标签
if ucase(vdoc.all(i).tagname) = "span" then '找到input标签
set vtag = vdoc.all(i)
if ucase(vtag.id) = "cashaccount" then
text1.text = vtag.innertext
end if
end if
next