I can grab the page contents of a webpage easily enough using the following code:
BUT! The page is a frames page and I want to grab the contents of of one of the frames.Code:Private Sub WebBrowser3_DocumentComplete(ByVal pDisp As Object, URL As Variant) Dim doc As HTMLDocument Dim strtemp As String Set doc = WebBrowser3.Document strtemp = doc.body.innerHTML 'page contents End Sub
Any idea how I can do that?
I presume it's doc.frames(1). but what next?
Thanks





Reply With Quote