I am in slideshow mode. I want a shape (“myshape”) to change its fill and line color as the mouse passes over that object. So I named the shape, created a macro, went to Action settings/Mouse over/Run macro…
this is the macro:
Sub flash_myshape()
‘
ActiveWindow.Selection.SlideRange.Shapes(“myshape”).Select
If ActiveWindow.Selection.ShapeRange.Line.ForeColor.RGB = “0” Then
With ActiveWindow.Selection.ShapeRange
.Line.ForeColor.RGB = RGB(255, 0, 0)
.Line.Visible = msoTrue
.Fill.ForeColor.RGB = RGB(255, 255, 0)
.Fill.Visible = msoTrue
.Fill.Solid
End With
End
End If
If ActiveWindow.Selection.ShapeRange.Line.ForeColor.RGB = “255” Then
With ActiveWindow.Selection.ShapeRange
.Line.ForeColor.RGB = RGB(0, 0, 0)
.Line.Visible = msoTrue
.Fill.ForeColor.RGB = RGB(255, 255, 255)
.Fill.Visible = msoTrue
.Fill.Solid
End With
End If
End Sub
It works fine when I am in editing mode,…but I cant get this to happen during the slideshow. I think the problem is with the selection … but this is beyond my knowledge now (very limited!). Help please. Thanks.