Share via


CustomLayouts.Paste Method

PowerPoint Developer Reference

Pastes the slides on the Clipboard into a custom layout and adds the custom layout to the CustomLayouts collection.

Syntax

expression.Paste(Index)

expression   A variable that represents a CustomLayouts object.

Parameters

Name Required/Optional Data Type Description
Index Optional Long The index number of the custom layout before which the new custom layout is pasted. If this argument is omitted, the new custom layout is pasted at the end of the CustomLayouts collection.

Return Value
CustomLayout

See Also