--
Steve Rindsberg PPT MVP
PPT FAQ: http://www.pptfaq.com
PPTools: http://www.pptools.com
"Frank Davoli" <fda...@osec.com> wrote in message
news:68f19b9c.02081...@posting.google.com...
If not, post the code in your macro and describe how you're setting up the
action to run it.
--
Steve Rindsberg PPT MVP
PPT FAQ: http://www.pptfaq.com
PPTools: http://www.pptools.com
"Frank Davoli" <fda...@osec.com> wrote in message
news:68f19b9c.02081...@posting.google.com...
I am prompted to enable or disable macros when I open the file, so I
choose to enable. The security was set at "medium", so I tried
setting it at "low" and it still didn't work. I even tried saving the
file, closing it, and reopening it to see if that might be the
problem.
In order to hilite a shape (rectangle) with a different color, I first
recorded a macro by choosing "Tools/Macro/Record new macro", "OK",
then I selected a rectangle and colored it a different color, and then
I chose "Tools/Macro/Stop Recording". I then returned the shape to
its original color, and while it was selected, I chose
"SlideShow/Action Settings", selected the "Mouseover" tab, selected
the radio button "Run Macro", clicked on the drop-down list arrow,
chose the macro that I had just recorded, and clicked "OK". I've also
tried the same procedure using the "Mouse Click" tab, and neither way
works when in SlideShow mode.
I've tried checking the checkbox to play a sound, and the other
checkbox to highlight from both the 'Mouse Click" tab and the
"Mouseover" tab, and those all work when in slideshow mode.
The code is very simple. Here it is:
Sub Macro1()
'
' Macro recorded 8/16/02 by Frank Davoli
'
ActiveWindow.Selection.SlideRange.Shapes("Rectangle 79").Select
ActiveWindow.Selection.ShapeRange.TextFrame.TextRange.Select
With ActiveWindow.Selection.ShapeRange
.Fill.ForeColor.RGB = RGB(255, 204, 153)
.Fill.Visible = msoTrue
.Fill.Solid
End With
ActiveWindow.Selection.Unselect
End Sub
Things you record in normal or slide view don't always work in slide show
view; selecting stuff never works.
Read this 'un to learn more:
Macros I record in Normal/Slide view don't work in Slide Show
http://www.rdpslides.com/pptfaq/FAQ00159.htm