CustomLayouts.Paste method (PowerPoint)
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
Remarks
If the source content is not fully downloaded, this method fails, and an error occurs. For more information about partial documents, see Work with Partial Documents.
See also
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.