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

[µo°Ý] ¬¡­¶Ã¯³s½u

²×©ó§ä¨ì¤F ÁÂÁ¡A¤èªk¦p¤U:
  1. Sub §R°£³s½u()

  2. For i = 1 To ActiveWorkbook.Connections.Count
  3. If ActiveWorkbook.Connections.Count = 0 Then Exit Sub
  4. ActiveWorkbook.Connections.Item(i).Delete
  5. i = i - 1
  6. Next i

  7. End Sub
½Æ»s¥N½X
°õ¦æButton Click®É¦A¥[¤J¤U»yªk´N·d©w¤F:
  1. Private Sub CommandButton1_Click()

  2. °]°È¤ñ²v
  3. §R°£³s½u
  4. End Sub
½Æ»s¥N½X

TOP

¦^´_ 2# stillfish00

ÁÙ¬O¤£¦æ­C..¨C°õ¦æ³s½uÁÙ¬O«ùÄò¼W¥[¤¤...

TOP

¦^´_ 1# leoncc
.Refresh BackgroundQuery:=False
.delete

TOP

        ÀR«ä¦Û¦b : ¥Í®ð¡A´N¬O®³§O¤Hªº¹L¿ù¨ÓÃg»@¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD