CustomLayouts.Add method (PowerPoint)

Returns a CustomLayout object that represents a new custom layout.

Syntax

expression.Add (Index)

expression A variable that represents a CustomLayouts object.

Parameters

Name Required/Optional Data type Description
Index Required Long The index number of the custom layout. The default value is -1, which means that if the Index argument is omitted, the new custom layout is added at the end of existing custom layouts.

Return value

CustomLayout

See also

CustomLayouts 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.