ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

ÃÒ¥æ©Ò¥þ³¡¤W¥«ªÑ²¼¥æ©ö©ú²Ó¤U¸ü

¦^´_ 8# HSIEN6001
¦^´_ 9# HSIEN6001
½Ð°Ý¤¤Â_®Éªº¿ù»~­È¬O¦h¤Ö

¦^´_ 10# devidlin
½Æ»sµ{¦¡½X«á
°õ¦æ   ¥ý°õ¦æ   Sub ¬d¸ßªÑ²¼¤é³øªí()               ¦A¸Õ¸Õ        Sub ¥þ³¡¤é³øªí()

TOP

¦^´_ 11# GBKEE

¿ù»~¼Æ­È¦b­þ¸Ì¬Ý?!
¸ê®Æ§¹¾ã¤U¸ü¨ì1413«á--->1414 err¦b¦p¤W­z¤§¦ì¸m¥X²{°»¿ùÂI

²{¦b¥¿­«·s°õ¦æ´ú¸Õ,«o¦­¤w¶W¹L1414¥N¸¹
¤£ª¾¹D¬°¦ó·|¤¤Â_

§Ú¦Û¤vªº¥ý«eªº¤U¸ü,¤]±`¦p¦¹;¤Ï¦ÓPM9:00¤§«á
¶]ªº«Ü¥¿±`

§Ú·Q....¬O§_3.5Gªº°ÝÃD?!

TOP

¦^´_  HSIEN6001


    ªþµùÂ_ÂI:    ³øªí­¶¼Æ = element.Item(0).innertext
HSIEN6001 µoªí©ó 2012-8-4 12:06



³o­Ó°ÝÃD¦b§Úªºµ{¦¡½X¸Ì¦³¨¾½d¤F,­ì¦]«Ü²³æ,¦³ªº®É­Ô¨Ï¥Îsetª«¥ó®É,¦pªGIE¨S¦³¶}§¹¾ã,±N·|¾É­PµLªk¨ú±o¹ïÀ³ªºª«¥ó,¦¹®É«K·|µo¥ÍµLªk¨ú±o­¶¼Æªº°ÝÃD,¬Ý¨ÓÃö©ó³o¤@ÂI,ª©¥D­n¦A¦htry¤@¤U,³o­Óµo¥ÍÂI¤£¬O¨C¦¸³£·|µo¥Í¦b¬Û¦Pªº¦ì¸m,À³¸Ó¦h¼W¥[¨¾½d,¦pªGµLªk¶¶§Q¨ú±o­¶¼Æ©Î¬Osetª«¥óµo¥Í°ÝÃD®É,­n¶i¦æRetry

TOP

¦^´_ 13# white5168

§ã×N!¤SÂ_¤F
§Úªº3.5G³o»ò¤£Ã­!

¨ä¹êW¤jªº,§Ú¤@ª½³£¤£¯à¥¿±`¨Ï¥Î
¥½¾ÇÁÙ¦³«Ü¦h¬Ý¤£À´,©Ò¥H¥ý¾Ç¬Ý»yªk
°»¿ù¦b    If TestFolder = False Then TestObj.CreateFolder (CSVfolder)

TOP

¦^´_ 11# GBKEE
µL½×¬O¥ý°õ¦æ ¬d¸ßªÑ²¼¤é³øªí()¡A¦Ó«á°õ¦æ ¥þ³¡¤é³øªí()¡A
¥ç©Î ³æ¿W¥ý°õ¦æ ¥þ³¡¤é³øªí()¡A µ²ªG¬O¤@­Pªº¡C
®t§O¥u¦b©ó¤¤Â_®É¤§Åª¨úªÑ²¼¥N½X¦ì¸m¤§¦h¹è¦Ó¤w¡C
¥X²{ªº¿ù»~°T®§¦p¤U¡G

TOP

¦^´_ 13# white5168

G¤j³o¸Ì«ü¥O«Ü§¹¾ã,À³¸Ó¤£¬O­¶¼Æ¦^ÂаÝÃD (§Ú¤]´ú¸Õ¹L³o­Ó­¶­±¦^ÂÐ)
        Do While .Busy Or .ReadyState <> 4   ---->³o¸Ì(4)¤åÀɤw¸g¸ÑªR§¹²¦ , ¥Î¤áºÝ¥i¥H±µ¨üªð¦^®ø®§
            DoEvents
        Loop

TOP

¤ñ¸û¹³¬OW¤j«á­±±Ô­zªº
setª«¥óµo¥Í°ÝÃD®É,­n¶i¦æRetry

¥ý«eÁٲ²ªº¥Î
Sleep 4000   '1000»¨¬í=1¬í
¥hÀ³¹ï

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2012-8-4 17:07 ½s¿è

¦^´_ 13# white5168     ÁÂÁ§Aªº´£¿ô «ü±Ð  
¦^´_ 15# c_c_lai           ¦^´_ 16# HSIEN6001  
white5168  ªº«ü±Ð­×§ï¦p¤U
  1. Private Function ³øªí­¶¼Æ(Sstock_N0 As String)
  2.     Dim element As Object
  3.     On Error GoTo xlerr:
  4. xlAgain:
  5.     Set element = IE.Document.getElementsByName("txtTASKNO")
  6.     element.Item(0).Value = Sstock_N0
  7.     Set element = IE.Document.getElementsByName("btnOK")
  8.     element.Item(0).Click
  9.     With IE
  10.         Do While .Busy Or .ReadyState <> 4
  11.             DoEvents
  12.         Loop
  13.     End With
  14.     Set element = IE.Document.getElementsByName("sp_ListCount")
  15.     ³øªí­¶¼Æ = element.Item(0).innertext
  16.     Exit Function
  17. xlerr:        '³B¸Ìºô­¶¤¤Â_
  18.     IE.Quit
  19.     ºô­¶
  20.     Err.Clear
  21.     GoTo xlAgain
  22. End Function
½Æ»s¥N½X

TOP

¦^´_  white5168     ÁÂÁ§Aªº´£¿ô «ü±Ð  
¦^´_  c_c_lai           ¦^´_  HSIEN6001  
white5168  ªº«ü±Ð ...
GBKEE µoªí©ó 2012-8-4 15:19



  »¡«ü±Ð¬O¤£´±·í,¬Û¤¬°Q½×¾Ç²ß

TOP

¦^´_  white5168

§ã×N!¤SÂ_¤F
§Úªº3.5G³o»ò¤£Ã­!

¨ä¹êW¤jªº,§Ú¤@ª½³£¤£¯à¥¿±`¨Ï¥Î
¥½¾ÇÁÙ¦³«Ü¦h¬Ý ...
HSIEN6001 µoªí©ó 2012-8-4 14:51


¬Ýcode¤£­n¥u¬Ý¤@¥b,½Ðª`·NSheet1(ªÑ²¼¥N½X) FilePath = "D:\Test\" ªº¸ô®|,¬Ý¬Ý§A¦Û¤vªº¹q¸£¬O§_¦³D¼Ñªº¦s¦b,¦pªG¨S¦³½Ð¦Û¦æ­×§ï

TOP

        ÀR«ä¦Û¦b : ¤Ñ¤W³Ì¬ü¬O¬P¬P¡A¤H¥Í³Ì¬ü¬O·Å±¡¡C
ªð¦^¦Cªí ¤W¤@¥DÃD