/ Published in: Visual Basic
Code is VBA...
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Sub deleteConnections() For i = 1 To ActiveWorkbook.Connections.Count If ActiveWorkbook.Connections.Count = 0 Then Exit Sub ActiveWorkbook.Connections.Item(i).Delete i = i - 1 Next i End Sub