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

[µo°Ý] ¨ú±oexcel ÀɮצWºÙ¨ÃÃö³¬

[µo°Ý] ¨ú±oexcel ÀɮצWºÙ¨ÃÃö³¬

¤½¥q·j´M¸ê®Æ«á²£¥ÍªºÀɦW³£¬O¥H  grid¶}ÀY «á­±¥[¤W¤é´Á®É¶¡²£¥ÍªºÀɦW
¨Ò: grid201608030902  (grid¬O©T©w,ÀɦWªø«×©T©w)
¤@¯ë¤p§ÌÃö³¬Àɮ׳£¥u¯à«ü©wÀɦW¨Ã°µÃö³¬°Ê§@
¹J¨ì³oºØÀH®É¶¡²£¥ÍªºÀɦW ¤£ª¾¹D¸Ó¦p¦ó°»´ú¨ú±o
·Ð½Ð¦U¦ì¤j¤j«üÂI°g¬z ÁÂÁÂ

«ü©wÀɦWÃö³¬
Public Sub test()
Dim excelobj As Object
Set excelobj = GetObject("Book1")
excelobj.Close False
End Sub

Sub UTEST()
Dim BK As Workbook
For Each BK In Workbooks
¡@If BK.Name Like "grid############*" Then BK.Close 0
Next
End Sub

TOP

¦^´_ 2# ­ã´£³¡ªL

­ã¤j¤S¦A¦¸ÂI¿ô¤p§Ì¤F  ¤Ó·PÁ¤F:D
¤§«e¥H¬°¥Î*´N¥i¥H´À¥N«á­±ªº¥þ³¡¦r¤¸
­ì¨ÓÁÙ¦³#ªº¥Îªk

TOP

        ÀR«ä¦Û¦b : ¡i¬O§_µo´§¤F¨}¯à¡H¡j¤H¶¡¹Ø©R¦]¬°µu¼È¡A¤~§óÅã±o¬Ã¶Q¡CÃø±o¨Ó¤@½ë¤H¶¡¡AÀ³°Ý¬O§_¬°¤H¶¡µo´§¤F¦Û¤vªº¨}¯à¡A¦Ó¤£­n¤@¨ý¨Dªø¹Ø¡C
ªð¦^¦Cªí ¤W¤@¥DÃD