I want to be able to change some values of a certain shape when I click on it. But I want to make it when powerpoint is in edit mode (I don't know if it is said like that), not in slide show mode. I have been looking on Internet and I only found a way to make it on slide show mode, so when the presentation is running.
Here is the code that I found
Private Sub createSwipeNext(color)
Dim swipArrow As Shape
Dim subName As String
subName = "Identify"
Set cSlide = Application.ActiveWindow.View.Slide
'ActiveWindow.Selection.Unselect
Set swipArrow = cSlide.Shapes.AddShape(msoShapeRightArrow, ActivePresentation.SlideMaster.width + 10, ActivePresentation.SlideMaster.height / 2, 40, 30)
If color = "green" Then
swipArrow.Fill.ForeColor.RGB = vbGreen
Else
swipArrow.Fill.ForeColor.RGB = vbRed
End If
swipArrow.name = "Dink swipe arrow"
'swipArrow.ActionSettings(ppMouseClick).Run = subName
With swipArrow.ActionSettings(ppMouseClick) ' or ppMouseOver if you prefer
.Run = subName
.Action = ppActionRunMacro
End With
End Sub
With this code is possible to click to the shape on slide Show mode and run Identify() method. I want to make the same but in edit mode, so when the presentation is not running. Is that possible?