Guides.Add method (PowerPoint)

Adds a new drawing guide to the presentation, slide master, or custom layout.

Syntax

expression.Add(Orientation, Position)

expression A variable that represents a 'Guides' object.

Parameters

Name Required/Optional Data type Description
Orientation Required PpGuideOrientation Specifies the orientation of a drawing guide, either horizontal or vertical.
Position Required Float The position of the guide along the specified axis.
Orientation Required PPGUIDEORIENTATION
Position Required FLOAT

Return value

Guide

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.