SlideShowSettings.PointerColor property (PowerPoint)

Returns the pointer color for the specified presentation as a ColorFormat object. Read-only.

Syntax

expression. PointerColor

expression A variable that represents a SlideShowSettings object.

Return value

ColorFormat

Remarks

The pointer color is saved with the presentation and is the default pen color each time you show the presentation.

To change the pointer to a pen, set the PointerType property to ppSlideShowPointerPen.

Example

This example sets the default pen color for the active presentation to blue, starts a slide show, changes the pointer to a pen, and then sets the pen color to red for this slide show only.

With ActivePresentation.SlideShowSettings

    .PointerColor.RGB = RGB(0, 0, 255)          'blue

    With .Run.View

        .PointerColor.RGB = RGB(255, 0, 0)      'red

        .PointerType = ppSlideShowPointerPen

    End With

End With

See also

SlideShowSettings Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.