DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub HTML_Text()
Dim objShell As Object
Dim objIE As Object
Dim obj As Object
Dim i As Byte
Set objShell = CreateObject("Shell.Application")
For Each obj In objShell.Windows
If TypeName(obj.Document) = "HTMLDocument" Then
Set objIE = obj
i = i + 1
Open "C:\HTML-" & i & ".txt" For Append As #1
Print #1, objIE.Document.Body.InnerText
Close #1
End If
Next
End Sub
Sub HTML_Text()
Dim objShell As Object
Dim objIE As Object
Dim obj As Object
Dim i As Byte
Set objShell = CreateObject("Shell.Application")
For Each obj In objShell.Windows
[color=red]If TypeName(obj.Document) = "HTMLDocument" Then[/color]
Set objIE = obj
i = i + 1
Open "C:\HTML-" & i & ".txt" For Append As #1
Print #1, objIE.Document.Body.InnerText
Close #1
End If
Next
End Sub