- ©«¤l
- 36
- ¥DÃD
- 7
- ºëµØ
- 0
- ¿n¤À
- 76
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-10-1
- ³Ì«áµn¿ý
- 2016-3-21
|
¥»©«³Ì«á¥Ñ jak ©ó 2012-10-2 13:06 ½s¿è
§Ú·QnÂ^¨ú³oÓºô¶¨C¤@®a¤W¥«Âd¤½¥qªº¸ê®Æ
http://jsjustweb.jihsun.com.tw/z/zc/zcj/zcj_1101.djhtm
¤~è¾ÇVBA,¼g¤£¥XªF¦è½Ð¤j®a«ü±Ð,
¥H¤U¬O°Ñ¦Ò¦U¦ì«e½ú̼gªºµ{¦¡´ê¥X¨Óªº,ÁٽЫe½ų́£½Ì
Sub Test()
Dim url As String
Stk = [A1].Value
url = "http://jsjustweb.jihsun.com.tw/z/zc/zcj/zcj_" & Stk & ".djhtm"
Cells.Clear
Set ie = CreateObject("internetexplorer.application")
With ie
.Visible = False
.Navigate url
Do While .ReadyState <> 4
DoEvents
Loop
.ExecWB 17, 2
.ExecWB 12, 2
Sheets("Sheet1").Cells.Select
Range("A1").Activate
ActiveSheet.PasteSpecial Format:="HTML", Link:=False, DisplayAsIcon:= _
False, NoHTMLFormatting:=True
End With
Columns("A:B").Delete
ie.Quit
MsgBox
End Sub
¦bSHEET1ªºA1¿é¤J¸¹½X,¥u¯à¤@®a¤@®a¤U¸ü,n¦p¦óÅý¥¦¦Û°Ê¤j¶q¤U¸ü©O? |
|