[1111] 88程式码 excel VBA

楼主: springmao (Mao)   2018-11-11 20:53:56
这里也来分享个 excel vba也能做到类似的事(虽然现在已经不能爬了)
https://i.imgur.com/1J5W1OK.jpg
Sub 宏1()
'
'
Range("A:A").Clear
Dim webURL As String
For x = 1 To 100
webURL =
"URL;https://略)com/GTS/specialEnter?msisdn=09X&shopType=A&captchaCode="
With ActiveSheet.QueryTables.Add(Connection:=webURL, Destination:=Range("A" &
x))
.RefreshStyle = xlOverwriteCells
.WebTables = "1"
.Refresh BackgroundQuery:=False
End With
Next x
'
End Sub
成果↓
https://i.imgur.com/sYzf4ay.jpg
作者: loomissayles (卢米斯赛勒斯)   2018-11-11 20:59:00
就炫耀阿 这么明显
作者: longlydreami (邦加尔迪)   2018-11-11 21:23:00
阿不就好棒棒?

Links booklink

Contact Us: admin [ a t ] ucptt.com