| ©«¤l161 ¥DÃD26 ºëµØ0 ¿n¤À187 ÂI¦W0  §@·~¨t²Îxp ³nÅ骩¥»office 2010 ¾\ŪÅv20 ©Ê§O¨k ¨Ó¦ÛTW µù¥U®É¶¡2011-1-2 ³Ì«áµn¿ý2025-10-9 
 | 
                
| ½Ð°ÝG¤j¡A¬O¤£¬O .Pictures.Insert (.Cells(i, 2))
 ªº°ÝÃD
 §Úµù¸Ñ¤F¡A´N¥i°õ¦æ
 ÁÂÁÂ
 
 Option Explicit
 Sub ¤U¸üºô¸ô·Ó¤ù()
 Dim a As Variant, e As Integer, i As Integer, s As Variant, p As Integer
 With CreateObject("Microsoft.XMLHTTP")
 .Open "get", "http://blog.mjjq.com/archives/1975.html", False
 .send
 a = Split(.responseText, vbLf)
 End With
 With ActiveSheet
 .Pictures.Delete
 .Cells.Clear
 i = 1
 For e = 0 To UBound(a)
 If InStr(a(e), "src=""http://") And InStr(a(e), ".jpg"" /><br />") Then
 s = Split(a(e), "alt=""")(1)
 s = Split(s, """ width=""")(0)
 .Cells(i, 1) = s
 s = Split(a(e), "src=""")(1)
 s = Split(s, """ /><br />")(0)
 .Cells(i, 2) = s
 p = .Pictures.Count
 .Cells(1 + (p * 20), "H").Select
 '  .Pictures.Insert (.Cells(i, 2))
 i = i + 1
 End If
 Next
 End With
 End Sub
 | 
 |