This is a script which can be used in VBA in Excel. Just select the elements you want in the project browser and run the script:
'Lists the Taggedvalues and their values for the selected elements in the Project Browser
Sub taggedvaluelist()
Dim repository As EA.repository
Set eaapp = GetObject(, "EA.App")
Set repository = eaapp.repository
Dim selectedElements As EA.Collection
Set selectedElements = repository.GetTreeSelectedElements()
Dim p As Integer, j As Integer
Dim selectedElementCount, i
selectedElementCount = selectedElements.Count
p = 2
Set outputws = Worksheets("TaggedValuesList")
outputws.Rows("2:" & Rows.Count).ClearContents
If selectedElementCount > 0 Then
For i = 0 To selectedElementCount - 1
Dim theelement As EA.element
Set theelement = selectedElements.GetAt(i)
Dim tags As EA.Collection
Set tags = theelement.taggedvalues
If tags.Count = 0 Then
outputws.Cells(p, 1) = theelement.Name
outputws.Cells(p, 2) = theelement.StereotypeEx
outputws.Cells(p, 5) = theelement.ElementID
p = p + 1
End If
For j = 0 To tags.Count - 1
Dim currentTag As EA.taggedvalue
Set currentTag = tags.GetAt(j)
outputws.Cells(p, 1) = theelement.Name
outputws.Cells(p, 2) = theelement.StereotypeEx
outputws.Cells(p, 3) = currentTag.Name
outputws.Cells(p, 4) = currentTag.Value
outputws.Cells(p, 5) = currentTag.ElementID
outputws.Cells(p, 6) = currentTag.PropertyID
p = p + 1
Debug.Print theelement.Name & ":" & currentTag.Name & ":" & currentTag.Value
Next
Next
End If
End Sub