@Porsche-makus

hier mal ein Beispiel was ich bekommen habe, wie man einen Button aus VBA anspricht

Dim MyPicture As DynPicture
Dim MyElement As Element
Public Sub LineUp()
'check if picture is open
Set MyPicture = thisProject.DynPictures.Item("AKTUELLE ALARME")
If MyPicture Is Nothing Then Exit Sub
If MyPicture.Online = True Then
'execute MDI Button for LineUp
Set MyElement = MyPicture.Elements.Item("LineUp")
If MyElement Is Nothing Then Exit Sub

MyElement.LeftClickDown
MyElement.LeftClickUp

'Reset Variable for next event...
thisProject.RtFunctions.Item("Reset").Start
End If
End Sub

Gruß
Christian