Propiedad ActionSetting.Action (PowerPoint)

Devuelve o establece el tipo de acción que se producirá al hacer clic en la forma especificada o cuando se sitúe el mouse sobre la forma durante una presentación con diapositivas. Lectura y escritura.

Sintaxis

expresión. Acción

Expresión Variable que representa un objeto ActionSetting .

Valor devuelto

Long

Comentarios

El valor de la propiedad Action puede ser una de las constantes PpActionType .

Utilice la propiedad Action junto con otras propiedades del objeto ActionSetting , como se muestra en la tabla siguiente.

Si establece la propiedad Action con este valor Use esta propiedad Para
ppActionHyperlink Hyperlink Set properties for the hyperlink that will be followed in response to a mouse action on the shape during a slide show.
ppActionRunProgram Run Return or set the name of the program to run in response to a mouse action on the shape during a slide show.
ppActionRunMacro Run Return or set the name of the macro to run in response to a mouse action on the shape during a slide show.
ppActionOLEVerb ActionVerb Set the OLE verb that will be invoked in response to a mouse action on the shape during a slide show.
ppActionNamedSlideShow SlideShowName Establece el nombre de la presentación con diapositivas personalizada que se ejecutará ante una acción del mouse en una forma durante la presentación.

Ejemplo:

Este ejemplo establece que se muestre la tercera forma (un objeto OLE) de la diapositiva número uno de la presentación activa cuando el mouse pase sobre ella durante la presentación con diapositivas.

With ActivePresentation.Slides(1) _
    .Shapes(3).ActionSettings(ppMouseOver)

        .ActionVerb = "Play"
        .Action = ppActionOLEVerb

End With

Soporte técnico y comentarios

¿Tiene preguntas o comentarios sobre VBA para Office o esta documentación? Vea Soporte técnico y comentarios sobre VBA para Office para obtener ayuda sobre las formas en las que puede recibir soporte técnico y enviar comentarios.