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

[µo°Ý] vba¶}¦hºô­¶

[µo°Ý] vba¶}¦hºô­¶



½Ð°Ý¦U¦ì¤j¤j~

¨C¤é­n¤U¸ü«Ü¦hºô­¶¥h¤U¸ü¸ê®Æ¡Avba­n«ç»ò¼g¥X¡AÅý¥L¥h¶}±Òe2¸òe3ªººô­¶~~¦]¬°§Ú¥u·|¥Î¿ýªº«ç»ò¿ý³£µLªk¦¨¥\¡A¥i¥H½Ð¤j®aÀ°¦£~·PÁ¤£ºÉ~

¥»©«³Ì«á¥Ñ mark15jill ©ó 2015-5-30 13:37 ½s¿è

¦^´_ 1# jun2460


    ´£¨Ñ¥t¥~¤@ºØ¤è¦¡...

    Ex¡G IEÂsÄý¾¹ ¶} yahooºô­¶   
           ¨BÆJ1¡G¶}±Ò°O¨Æ¥»
           ¨BÆJ2¡G¿é¤J®æ¦¡ ¡Gstart  ÂsÄý¾¹¦WºÙ.exe   ·Q­n¶}±Òªººô§}  ¡G   start iexplore.exe www.yahoo.com.tw
           ¨BÆJ3¡GÀɮס÷¥t¦s·sÀÉ¡÷ÀÉ®×Ãþ«¬¿ï"¥þ³¡"  ÀɮצWºÙ¥´ §A­nªº¦WºÙ.bat
           ¨BÆJ4¡G¶}°_¨BÆJ3ªº°õ¦æÀÉ




(«Øij¤@¦¸¤£­n¤Ó¦h¡A¦]¬°¤Ó¦hªº¸Ü¦³®É·|¸õ¹LÅý¹L...)

  ¦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


    ·PÁ±zªº¤À¨É!

TOP

¦^´_ 3# jun2460

¸Õ¸Õ¬Ý
  1. Sub Ex_Ie_ADD()
  2. Dim AR(1 To 4) As String, objShell As Object, E As Object, Ie(1 To 4) As Object, i As Integer
  3.    
  4.     AR(1) = "http://forum.twbts.com/"
  5.     AR(2) = "http://forum.twbts.com/forum-5-1.html"
  6.     AR(3) = "http://forum.twbts.com/forum-6-1.html"
  7.     AR(4) = "http://forum.twbts.com/forum-7-1.html"
  8.    
  9.     Set objShell = CreateObject("shell.application")
  10.     If objShell.Windows.Count = 0 Then                              'ºô»Úºô¸ô¨S¦³¶}±Ò
  11.         Shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE", 2  ' (2  À³¥Îµ{¦¡µøµ¡·|¥H¤@­Ó¹Ï¥Ü¨ÓÅã¥Ü¡A¨Ã¨ã¦³¾nÂI)
  12.     End If
  13.    
  14.     For Each E In objShell.Windows
  15.         Do While E.BUSY:   DoEvents:  Loop 'µ¥­Ô ºô­¶ ¶}±Ò§¹²¦
  16.     Next
  17.     For i = 1 To 4
  18.         objShell.Windows(0).Navigate2 AR(i), CLng(2048)  '·s¶}ºô­¶
  19.     Next
  20.     For Each E In objShell.Windows
  21.        Do While E.BUSY: DoEvents:  Loop 'µ¥­Ô ·s¶}ºô­¶  ¶}±Ò§¹²¦
  22.         For i = 1 To 4
  23.             If E.LocationURL = AR(i) Then Set Ie(i) = E          '³]©wÅܼÆ=·s¶}ºô­¶
  24.         Next
  25.     Next
  26. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 4# GBKEE


    ¸U¤À·PÁ±zªº¤À¨É

TOP

        ÀR«ä¦Û¦b : ¤H¥Í³Ì¤jªº¦¨´N¬O±q¥¢±Ñ¤¤¯¸°_¨Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD