Hello everybody
I'm new to this forum and also to vba programming. I would like a shape to change it's colour, when I cklick on the shape in presentation modus.
I've found a solution in the internet:
Sub changecol(oshp As Shape)
On Error GoTo errhandler
oshp.Fill.ForeColor.RGB = RGB(255, 0, 0)
Exit Sub
errhandler:
MsgBox "Sorry there's an error"
End Sub
The problem: It just won't work. When I assign this macro to a shape, nothing happens and when I trie to run it form the vba IDE I can't find the macro listet there..?
Is there anybody who could help?
Thank's a lot