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

[µo°Ý] Excel VBA webBrower ·j´Mºô­¶¸ê®Æ°ÝÃD

[µo°Ý] Excel VBA webBrower ·j´Mºô­¶¸ê®Æ°ÝÃD

¦pÃD
¦]­n¤j¶q·j´M¬Û¦PÃöÁä¦rªººô­¶¸ê®Æ

¥Ø«e ªþ¥ó¤ºµ{¦¡¤w¦³³]©wºô­¶ÂsÄý ©M ¿ù»~´£¥ÜÃö³¬

¦ý¥²¶·¤â°Ê ±N  ¦WºÙ ©M ºô§} COPY ¨ì TextBox2 ©M TextBox3  µM«á«ö¤U commandBox  ·|±N¸ê®ÆÁä¤J¦Ü ¬¡­¶Ã¯ªº AÄæ¦ì©M BÄæ¦ì....

·Q¸ß°Ý ¦³¨S¦³¤èªk¥i¥H¨º¼Ë°µ  

¨Ò¦p ¦WºÙ   ·j´M ²¦Áp·|  
         ·j´M¨ì      ¥æ³q¤j¾Ç²¦Áp·| (©ñ¸mAÄæ¦ì)         https://zh-tw.facebook.com/NCTUgraduate  (:©ñ¸mBÄæ¦ì)
        

§Ú¬Oª¾¹D¦n¹³¥i¥H§Q¥Î Label ©Î textbox ¥h¥[¥H§PÂ_... ¦ý¦]¬°¨S±µÄ²¹L ©Ò¥H...

³Â·Ð¦U¦ì¤j¤j©M«e½úªº±Ð¾É ....  ÁÂÁÂ

[attach]20471[/attach]

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

¦pÃD
¦]­n¤j¶q·j´M¬Û¦PÃöÁä¦rªººô­¶¸ê®Æ

¥Ø«e ªþ¥ó¤ºµ{¦¡¤w¦³³]©wºô­¶ÂsÄý ©M ¿ù»~´£¥ÜÃö³¬

¦ý¥²¶·¤â ...
mark15jill µoªí©ó 2015-3-20 15:48



==  ¯u©_©Ç....
¸ß°Ý±M¥Î.rar (12.2 KB) ¸ß°Ý±M¥Î.rar (12.2 KB)

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

¦^´_ 2# mark15jill
¸Õ¸Õ¬Ý : ¬O§_¬O³o¼Ë!
  1. Private Sub CommandButton1_Click()
  2.     Dim myElements As Object, E As Object, xxA As Integer
  3.     Set myElements = WebBrowser1.document.getElementsByTagName("A")
  4.     With ActiveSheet
  5.         .UsedRange.Clear
  6.         For Each E In myElements
  7.             If E.INNERTEXT Like "*¾ÇÁp·|*" Or E.INNERTEXT Like "*¾Ç¥ÍÁp·|*" Then
  8.                 xxA = xxA + 1
  9.                 .Cells(xxA, 1) = E.INNERTEXT
  10.                 .Cells(xxA, 2) = E.HREF
  11.             End If
  12.         Next
  13.     End With
  14. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 3# GBKEE


    ¹B§@¤è¦¡¥¿¬O¤p§Ì·Q­nªºµ²ªG¡AÁÂÁÂ
   ¥u¬O  µ²ªG·|³s¦³Ãö³sªº³q³qµ¹¥LÂ^¨úªñ¨Ó= =""
   §Ú¦b­×§ï¦n¤F  ÁÂÁ±z~~

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

        ÀR«ä¦Û¦b : ¤ß¤¤±`¦sµ½¸Ñ¡B¥]®e¡B·P«ä¡Bª¾¨¬¡B±¤ºÖ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD