这样试试
strContent =''
For i = 0 To thisform.web.Document.All.length - 1
If thisform.web.Document.All(i).tagName = "HTML" Then
strContent = strContent + thisform.Web.Document.All(i).innerHTML
*Exit For
EndIf
NEXT
=STRTOFILE(strContent,'r:\temp\123.txt')