Sub getLinks() Dim myLinks As Variant, i as Long myLinks = ThisWorkbook.LinkSources(xlExcelLinks) If Not IsEmpty(myLinks) Then For i = LBound(myLinks) To UBound(myLinks) Debug.Print myLinks(i) Next i End If End Sub
Sub getLinks() Dim myLinks As Variant, i as Long myLinks = ThisWorkbook.LinkSources(xlExcelLinks) If Not IsEmpty(myLinks) Then For i = LBound(myLinks) To UBound(myLinks) Debug.Print myLinks(i) Next i End If End Sub
Sub killValidations() Dim S as Worksheet For Each S in ThisWorkbook.Worksheets S.UsedRange.Validation.Delete Next S End Sub