Good day,
In Powerpoint i added a shape and on click i need it to change color. when i go to a new slide i need it to return to the original color set. the macro i have set up is
but all that does is change the color but i have to manually change it back.
i need to be able to add the code to multiple shape using the action button on PowerPoint.
Thank you for your time.
In Powerpoint i added a shape and on click i need it to change color. when i go to a new slide i need it to return to the original color set. the macro i have set up is
Code:
Sub changecol(oshp As Shape) On Error GoTo errhandler
oshp.Fill.ForeColor.RGB = RGB(25, 200, 0)
Exit Sub
errhandler:
MsgBox "Sorry there's an error"
End Sub
i need to be able to add the code to multiple shape using the action button on PowerPoint.
Thank you for your time.