Gruppe
Link
Problem
Wie kann ich Verknüpfungen zu anderen Arbeitsmappen entfernen?
StandardModule: basMain
Sub DeleteLinks()
Dim vLink As Variant
Dim iCounter As Integer
vLink = ActiveWorkbook.LinkSources(xlExcelLinks)
If Not IsEmpty(vLink) Then
For iCounter = 1 To UBound(vLink)
ActiveWorkbook.ChangeLink Name:=vLink(iCounter), _
newname:=ThisWorkbook.Name
Next iCounter
End If
End Sub