标签:empty with color links span not source sources end
Sub BreakAllLinks(wb As Workbook) Dim links As Variant With wb links = .LinkSources(xlLinkTypeExcelLinks) If Not IsEmpty(links) Then For i = 1 To UBound(links) .BreakLink Name:=links(i), Type:=xlLinkTypeExcelLinks Next End If links = .LinkSources(xlLinkTypeOLELinks) If Not IsEmpty(links) Then For i = 1 To UBound(links) .BreakLink Name:=links(i), Type:=xlLinkTypeOLELinks Next End If End With End Sub
标签:empty with color links span not source sources end
原文地址:https://www.cnblogs.com/sundanceS/p/12530058.html