Macros do not work as object actions

D

Damianos

Hi,

I recorded some macros and running them with Alt-F8 works
fine.

But if I want to bind a macro to an object as an action
when I click it, the macro is not started. I've tried all
security levels but it does not even enter the macro.

Any hint?
Thanks, Damianos
 
P

PPTMagician

Are you clicking on it during Slide Show mode instead of Edit mode? Are the
actions something that can be done in Slide Show mode? If not, that will be
the problem.

HTH,
Glenna
 
B

Bill Dilworth

Link to FAQ:
**Macros I record in Normal/Slide view don't work in Slide Show
http://www.rdpslides.com/pptfaq/FAQ00159.htm

--
Bill Dilworth, Microsoft PPT MVP
===============
Please spend a few minutes checking vestprog2@
out www.pptfaq.com This link will yahoo.
answer most of our questions, before com
you think to ask them.

Change org to com to defuse anti-spam,
ant-virus, anti-nuisance misdirection.
..
..
 
J

Jim Grady in Oldham, UK

This FAQ does work, assuming you can code http://www.rdpslides.com/pptfaq/FAQ00159.ht
I was stumped with this. I am trying to create a Blockbusters (Quiz game in UK - probably from the US originally) type hexagon grid. Where I want to change the colour of a hexagon if I click on it
The following code is pretty close to what I want to do - but its a real pain because I think I have to recreate this piece of code for each hexagon. I would much rather be able to identify the object on which I clicked and pass this as a parameter to a colour changing routine

Sub toggle_shape4(
' I know it is autoshape 4 because I used some code off the FAQ to identify the objec
With SlideShowWindows(1).Presentation.Slides(1).Shapes("Autoshape 4"
If .Fill.ForeColor.RGB = RGB(255, 255, 102) The
.Fill.ForeColor.RGB = RGB(100, 100, 102
Els
.Fill.ForeColor.RGB = RGB(255, 255, 102
End I
.Fill.Soli
End Wit

End Su

My thanks to www.rdpslides.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top