tipo:
esempio: elenco dei link del file in una scheda a parte
Dim aLinks As Variant
aLinks = ActiveWorkbook.LinkSources(xlExcelLinks) array link
If Not IsEmpty(aLinks) Then se array non é vuoto
Sheets.AddEnd If
For i = LBound(arLinks) To UBound(aLinks)Cells(i, 1).Value = aLinks(i)Next i
esempio: scrivo tutti i link di un foglio in una lista
Dim aLinks As Variant
aLinks = ActiveWorkbook.LinkSources(xlExcelLinks) array link
Dim lista As Object
Set lista = CreateObject("System.Collections.ArrayList") creo lista
If Not IsEmpty(aLinks) Then se array non é vuoto
For intIndex = LBound(arLinks) To UBound(arLinks)End Iflista.Add arLinks(intIndex)Next intIndex
tipo:
valori xlLinkInfoStatus restituiti
esempio: messaggio con lo ststo del tile test.xlsx
MsgBox (ActiveWorkbook.LinkInfo("test.xlsx", xlLinkInfoStatus))