status code : 304 ¬O¤£¬Oª¦¤£¤U¨Ó ?
- ©«¤l
- 41
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 64
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2015-3-11
- ³Ì«áµn¿ý
- 2020-10-7
|
status code : 304 ¬O¤£¬Oª¦¤£¤U¨Ó ?
½Ð±Ð¦U¦ì
https://www.cac.edu.tw/apply108/system/108ColQry_forapply_3r5k9d/html/108_001562.htm
¸Õ¤F¦n¦hºØ¤èªk¡A¦ý´N¬Oª¦¤£¤U³oÓºô¶¡C
µo²{ ¤@¯ëHeaders ªº status code : 200 ¡A¦ý³oÓºô¶ status code : 304
¬O§_³oÓ¦]¯Àª¦¤£¤U¨Ó ? |
|
|
|
|
|
|
- ©«¤l
- 361
- ¥DÃD
- 57
- ºëµØ
- 0
- ¿n¤À
- 426
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- 2003,2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-13
- ³Ì«áµn¿ý
- 2022-12-8
|
¦^´_ 4# vanguarx
°Ñ¦Ò¬Ý¬Ý
http://white5168.blogspot.com/2012/08/excel-vba-js.html |
|
|
|
|
|
|
- ©«¤l
- 41
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 64
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2015-3-11
- ³Ì«áµn¿ý
- 2020-10-7
|
·Q°Ý¤@Ó°ÝÃD¡A¬°¦ó .ExecWB 17,2 ³o¥Nªí select All ? ExecWB 12,2 ³o¥Nªí copy selection ?? ¤£¤ÓÀ´³o¬Oþ¸Ì¨Óªº
For xi = st To A.Length - 1 Step 1
.Document.body.innerHTML = A(xi).outerHTML
.ExecWB 17, 2 ' Select All
.ExecWB 12,2 ' Copy selection
With shts
.Range("A" & .[A65535].End(xlUp).Row + 1).Select
.PasteSpecial Format:="HTML", Link:=False, DisplayAsIcon:=False, NoHTMLFormatting:=True
End With
.Document.body.innerHTML = xlHtm 'ÁÙì
Next xi |
|
|
|
|
|
|
- ©«¤l
- 41
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 64
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE2010
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2015-3-11
- ³Ì«áµn¿ý
- 2020-10-7
|
¤Ó·P¿E¤F¡C
Joey ¤j¤jÁ٫ܶK¤ß¼g¤Fµù¸Ñ¡A¤Ó¨ü¥Î¤F¡C |
|
|
|
|
|
|
- ©«¤l
- 361
- ¥DÃD
- 57
- ºëµØ
- 0
- ¿n¤À
- 426
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- 2003,2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-13
- ³Ì«áµn¿ý
- 2022-12-8
|
¦^´_ 1# vanguarx
ªº½T¦n´X±`¥Îªº¤èªk§ì¤£¤U¨Ó¡A¤£¹L
¥H«e¶W¯ÅªO¥Dµ{¦¡¦¡½Xקï«á
©|¥i§ì¨ú- Sub ©ñº]()
- Cells.Clear
- Application.ScreenUpdating = False
- With CreateObject("internetexplorer.application")
- surl = "https://www.cac.edu.tw/apply108/system/108ColQry_forapply_3r5k9d/html/108_001562.htm"
- .Visible = True
- .Navigate surl
- Application.Wait Now + TimeValue("00:00:01")
- Do While .ReadyState <> 4 Or .Busy: DoEvents: Loop
-
- Application.Wait Now + TimeValue("00:00:01")
- x = .Document.getElementsByTagName("table").Length
- ' For Z = 0 To x - 1
- ' MsgBox "³o??²Ä" & Z & "Óªí®æ" & Chr(10) & .Document.getElementsByTagName("table")(Z).innerText
- ' Next
- Set shts = ActiveSheet '
- xlHtm = .Document.body.innerHTML
- Set A = .Document.getElementsByTagName("table")
- For xi = st To A.Length - 1 Step 2
- .Document.body.innerHTML = A(xi).outerHTML
- .ExecWB 17, 2 ' Select All
- .ExecWB 12, 2 ' Copy selection
- With shts
- .Range("A" & .[A65535].End(xlUp).Row + 1).Select
- .PasteSpecial Format:="HTML", Link:=False, DisplayAsIcon:=False, NoHTMLFormatting:=True
- End With
- .Document.body.innerHTML = xlHtm 'ÁÙì
- Next xi
- .Quit
- End With
- Application.ScreenUpdating = True
-
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|