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

[µo°Ý] ¸ü¤Jºô­¶¸ê®Æªº°ÝÃD

¥»©«³Ì«á¥Ñ stillfish00 ©ó 2013-7-1 14:48 ½s¿è

¦^´_ 10# HSIEN6001
FullName¤¤¬Oµ{§Çªº§¹¾ã¸ô®|¡A¹³§Úªº¬O "C:\Program Files\Internet Explorer\iexplore.exe"
¦A¥h¤ñ¸û«á­±ªº¦r§À¬Ý¬O¤£¬OIEªºµ{§Ç¦Ó¤w¡AÀ³¸Ó¤£¥Î¥[ *32§a

¥t¥~§Úı±o§A­nª`·Nªº¬OQueryTable­Y¥u¬O¥Î¨Ó¨ú±o¤@¦¸©Ê¸ê®Æ¡A³Ì¦nÁÙ¬O¶¶«K§â³s½u§R°£¡A¤£µM¨C¦¸³£·|·s¼W³s½u¡A¥H«á¸Ó¤u§@ªí´N¦³«Ü¦h¸ê®Æ³s½u...¡A¥i¯à³y¦¨¶}ÀÉÅܺCªº°ÝÃD¡C

TOP

¦^´_ 11# stillfish00
QueryTable ¦n¼Ëª¾¹D­C!  ..^_^..
¤j²¤À³¥Î´XºØ¤è¦¡±Æ°£:

(1)
Public Sub §R°£¥»¬¡­¶Ã¯¤¤©Ò¦³ªº©w¸q¦WºÙ()
For Each c In ActiveWorkbook.Names
   c.Delete
Next
End Sub
*****************
(2) ¤U¸ü¸ê®Æ to ·s¼W¬¡­¶Ã¯
*****************
(3)
·s¼W"¼È®É"¤u§@ªí
¥Î§¹Delete¸Ó¤u§@ªí
¤£¯d³s½u QueryTable
*****************
(4)
Dim QueryTable_Name As String   
.
.
.
QueryTable_Name = .Name         
.
.Names(QueryTable_Name).Delete   
---------------------
¤£ª¾¹D¬°¬Æ»ò,§Ú C:\
¦@¦³¨â­ÓProgram Files
Program Files
Program Files (x86)
  1. Sub QuitIE()
  2. Dim oShellWindows As Object, obj As Object
  3. Set oShellWindows = CreateObject("Shell.Application").Windows
  4.     FullName = "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
  5.    
  6.     If oShellWindows.Count > 0 Then
  7.         For Each obj In oShellWindows
  8.             If StrComp(Right(obj.FullName, 12), "iexplore.exe", vbTextCompare) = 0 Then obj.Quit
  9.         Next
  10.     End If
  11. End Sub
½Æ»s¥N½X
³o¼Ë¹ï¤£¹ï?!!
(¹ï¤£°_!!­Yµ{§Ç«Ü¦n¯º,§Ú¬O¯uªº¥~¦æ,¦³®ÉÀH«K®M¥Î¨Óªº)
§O¨£©Ç!!   ..^__^..

TOP

§Ñ¤F!!
(ªþ¹Ï)
¤U¸ü®É,¤u§@ªí¤Ï¶Âªº²{¶H¬O³o¼Ë

¦³¨S¦³¤Hª¾¹D³o­Ó°ÝÃDªº²£¥Í­ì¦]

TOP

ÁÂÁªO¤W¦U¦ì¤j¤j¸ÑÃD¡A·|¦bµZ¿i°Ñ¸Ô¡C

TOP

        ÀR«ä¦Û¦b : ¤Ó¶§¥ú¤j¡B¤÷¥À®¦¤j¡B§g¤l¶q¤j¡A¤p¤H®ð¤j¡C
ªð¦^¦Cªí ¤W¤@¥DÃD