Sub test()
Dim tbl(1 To 1000, 1 To 4)
Dim Ref As Reference
Dim a&
Dim NameProject$
For Each addinx In AddIns
a = a + 1
tbl(a, 1) = addinx.Name
tbl(a, 2) = addinx.Path
tbl(a, 3) = addinx.Installed
tbl(a, 4) = False
If addinx.Installed Then
NameProject = Workbooks(addinx.Name).VBProject.Name
For Each Ref In ThisWorkbook.VBProject.References
tbl(a, 4) = True
If InStr(1, addinx.Name, ".xla") > 0 Then
If Ref.Name = NameProject Then tbl(a, 4) = True Else tbl(a, 4) = False
End If
Next Ref
End If
Next
Cells.Clear
Cells(1, 1).Resize(, 4) = Array("chemin", "nom", "installé", "actif")
Cells(2, 1).Resize(a, 4) = tbl
Columns("A:d").AutoFit
End Sub