Hi @bionorica2015. @MTheDesigner 's response will likely work in iLogic, but since you've got VBA right in your topic name, here is a VBA macro code for doing that same thing.
Sub DisplayAppearanceInMsg()
If ThisApplication.ActiveDocumentType <> kPartDocumentObject Then
Call MsgBox("This VBA macro only works if a Part document is active.", vbCritical, "")
Exit Sub
End If
Dim oPDoc As PartDocument
Set oPDoc = ThisApplication.ActiveDocument
Call MsgBox(oPDoc.ActiveAppearance.DisplayName, vbInformation, "Active Appearance DisplayName")
Call MsgBox(ThisApplication.ActiveAppearanceLibrary.DisplayName, vbInformation, "Active Appearance Library DisplayName")
End Sub
If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS) 👍.
If you want and have time, I would appreciate your Vote(s) for My IDEAS :bulb: or you can Explore My CONTRIBUTIONS
Wesley Crihfield

(Not an Autodesk Employee)