Hi - I made a PowerPoint, which contains coding that creates some rectangular shapes and adds a macro to them by the below code. My question is, is it possible to use VBA coding to then remove the macros associated with these shapes?

stringName = "NameOfString"
sMacroName = "NameOfMacro"

Set MyShape = MyDocument.Shapes(stringName)


With MyShape.ActionSettings(ppMouseClick)
         .Run = sMacroName
         .Action = ppActionRunMacro
End With
Thank you for any comments.