Option Explicit
Function pno(Word As String) As String
Dim Url As String, Ar
Url = "http://yp.kocpc.com.tw/search/" & Word
If Word = "" Then pno = "??": Exit Function
With CreateObject("Microsoft.XMLHTTP")
.Open "get", Url, False
.send
Ar = Split(Split((.responseText), "電話:"), "'(")
pno = Ar(UBound(Ar))
End With
End Function作者: alancc1228 時間: 2016-5-8 16:29