- ©«¤l
- 4
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 2
- ÂI¦W
- 0
- §@·~¨t²Î
- win 7
- ³nÅ骩¥»
- excel 2013
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2019-8-13
- ³Ì«áµn¿ý
- 2019-11-29
|
[µo°Ý] ½Ð°Ývban¦p¦ó§PÂ_ºô¶¤¤ªºjsªº³¡¥÷¸ü¤J§¹¦¨©O?
«e½ú̦n
¥Ø«evba§PÂ_ºô¶¸ü¤J§¹¦¨¬O¥Î¤U¤èµ{¦¡½X- timeOut = Now + TimeSerial(0, 0, 20) '¶±§¹¥þ¥[¸ü§¹¦¨¤§«eµ¥«Ý
- Do While objIE.Busy = True Or objIE.ReadyState <> 4 'Busy¬dºô¶¬O§_¥¿¦b¥[¸ü¤¤¡Areadystate¬dIE¹ï¶Hªº¤åÀɪº¥[¸üª¬ºA
- DoEvents
- Sleep 1
- If Now > timeOut Then
- objIE.Refresh
- timeOut = Now + TimeSerial(0, 0, 20)
- End If
- Loop
- timeOut = Now + TimeSerial(0, 0, 20)
- Do While objIE.Document.ReadyState <> "complete"
- DoEvents
- Sleep 1
- If Now > timeOut Then
- objIE.Refresh
- timeOut = Now + TimeSerial(0, 0, 20)
- End If
- Loop
½Æ»s¥N½X ³oÓ³¡¥÷¨S¦³°ÝÃD¡A¦ý¬O·í¹J¨ìºô¶¬O¦³jsªºªí³æ®É¡A·|¦³¸ü¤Jªº®É¶¡4~10¬í¡An¬Ý¨CÓ¤Hªº¹q¸£¯à¤O
¦ý¬O¥Î¤W±ªºµ{¦¡½X¨S¦³°µ¥Î
©Ò¥H·Q°Ý°Ý«e½úÌ¡A¬O§_¦³§Oªº¤è¦¡¥i¥H§PÂ_
§Ú¥Î¤FIsObject(objIE.Document.getElementById("noodle-page-title")) = True¨Ó§PÂ_¬O§_¦³«ü©wªºid¥X²{¤F
¤£¹L¨S·Q¨ìjs¦n¹³¬O´N¤w¥ý¦³html½X¡A¥u¬OÁÙ¨S¥[¸ü¥X¨Ó???
¥Ø«e¥u¯à¥ÎApplication.Wait (Now + TimeValue("00:00:07"))¨Ó©µªø®É¶¡
¦ý¤£¬O¤@Ó¦n¤è¦¡¡A¦]¬°±`±`·|¦³´X¥x¹q¸£n§ó¤[ªº®É¶¡ |
|