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

¦hºô­¶¦P®É§ì¨ú°ÝÃD½Ð¯q¡H

¦hºô­¶¦P®É§ì¨ú°ÝÃD½Ð¯q¡H

°²³]¦³¬Û¦Pªººô­¶¡A¨Ò¦p¡Ghttp://stock.wearn.com/astock.asp?kind=2330

°²³]¥N½X±q1101~3000

¤p§Ì·Q1000~2000¶}¤@­Óºô­¶§ì
2001~3000¶}¥t¤@­Óºô­¶§ì

¤W­±ªººô¯¸«Ü§Ö¡A¥u¬OÁ|¨Ò¡K
¤p§Ì¥uª¾¹D­n³]¨â­ÓÃþ¦üSet IEa = CreateObject("InternetExplorer.Application")¡ASet IEb = CreateObject("InternetExplorer.Application")¡A¥i¬O¥N½X¼g¦b¦P¤@­Ósub¡AÁÙ¬O·|¥ý«á°õ¦æ¡K

¤£ª¾¹D¦³°ª¤â¥i¥H«üÂI¤@¤U¶Ü¡H
³o¼Ë¥i¥H¬Ù¤U§ì¨úªº®É¶¡
  1. Sub vba¥´¶}ºô­¶()
  2.     Dim IE As Object
  3.     Set IE = CreateObject("InternetExplorer.Application")
  4.        IE.Visible = True
  5.        IE.Navigate ("http://stock.wearn.com/astock.asp?kind=2330")

  6. §ìºô­¶¡K¤U­±¤p§Ì·|¼g

  7. End Sub
½Æ»s¥N½X

¦^´_ 1# joey0415
½Ð°Ñ¦Ò³o­Ó :
¦P®É¶]¨â­Óµ{¦¡!

TOP

luhpro¤jªº½d¨Òªº½T¥i¦æ

¤£¹L¤p§Ìªºµ{¦¡³£­n¤Wºô­¶§ì¸ê®Æ¡A³£¦³¤U­±³o¦æ³]©w(·|¶}±Òie)¡A©Ò¥H§Y¨Ï¦bdoeventsªº³]©w¤U¡A¤]¤£¯à«ö¤U¥t¤@­Ó«ö¶s

¥»¨Ó·Q»¡¶}¨â­Óºô­¶§ì¡A®É¶¡·|¬Ù¤@¥b¡A¤£¹LÁÙ¬O¤£¯à«ö¤U¥h

¤£ª¾¦³¸Ñ¶Ü¡H
ÁÂÁÂ

Set xa = CreateObject("internetexplorer.application")

Set xb = CreateObject("internetexplorer.application")

TOP

luhpro¤jªº½d¨Òªº½T¥i¦æ

¤£¹L¤p§Ìªºµ{¦¡³£­n¤Wºô­¶§ì¸ê®Æ¡A³£¦³¤U­±³o¦æ³]©w(·|¶}±Òie)¡A©Ò¥H§Y¨Ï¦bdoev ...
joey0415 µoªí©ó 2013-8-2 15:40

¤£¯à«ö¬O¥¿±`ªº°Ú,
¦b Excel VBA ¤W,
doevents ¥u¬O§â¨t²Î±±¨îÅv¼È®É²¾¥æ¥X¥h,
¦Ó¦b¨ä§â±±¨îÅv¨ú¦^«e(¤]´N¬O doevents °õ¦æ´Á¶¡) ¸ÓExcel VBA ¬O¨S¦³(¿ìªk)°µ¥ô¦ó°Ê§@ªº.
©Ò¥H§A­n¦P®É¶]¨â­Óºô­¶,
¤ñ¸û¦nªº¤è¦¡¬O±N¨â­Óºô­¶ªº¾Þ§@°Ê§@¥æ¿ù¤@¤U,
(A°õ¦æŪºô­¶,±µµÛB³B²z¤w¸gŪ¨ú§¹¦¨ªººô­¶¤º®e,¦^¨ìA½T»{Ū¨úºô­¶§¹¦¨«á,¶}©l³B²zºô­¶¤º®e,¦A¨ÓB¶}©lŪ¨ú·sªººô­¶¸ê®Æ...)¥H¤W°j°é
¶¡©Î¤¤¶¡¦A¥[©ñ¤@¨â­Ó doevents Åý¨ä¥Lµ{¦¡¤]¥i¥H³B²z¦Û¤vªº¨Æ±¡.
§Ú·Q³o¼ËÀ³¸Ó¤~¬O§A·Q­nªº¥\¯à.

TOP

¦^´_ 4# luhpro

·PÁ¤j¤jªº¦^À³¡A§Ú·|¸ÕµÛ¦P®É¦h¶}´X­Óºô­¶¡A¤À´²¤U¸ü¦Ü¤£¦Psheet¤¤¡A¦A¤À§åŪ¨ú¥X¨Ó¸Õ¸Õ¬Ý

¦pªG¦³¾÷·|¦A³ø§iµ¹¤j®aª¾¹D

TOP

        ÀR«ä¦Û¦b : ¬Ý§O¤H¤£¶¶²´¡A¬O¦Û¤v­×¾i¤£°÷¡C
ªð¦^¦Cªí ¤W¤@¥DÃD