How to obtain Cell Address and/or Select all sheet-cells with xlExcelLinks
2003, 2007
With the code below as a base point: Is there a way to obtain
1) Obtain the address of and/or
2) Select all cells with links?
Sub OpenAllLinks()
Dim arLinks As Variant
Dim intIndex As Integer
arLinks = ActiveWorkbook.LinkSources(xlExcelLinks)
If Not IsEmpty(arLinks) Then
For intIndex = LBound(arLinks) To UBound(arLinks)
ActiveWorkbook.OpenLinks arLinks(intIndex)
Next intIndex
Else
MsgBox "The active workbook contains no external links."
End If
End Sub
TIA EagleOne
|