PasteFormat Property

The PasteFormat method pastes the object or selection's properties on the clipboard to a new object. Use the CopyFormat command on another object to set the properties.

Syntax

object.PasteFormat

Example

This example demonstrates how to copy the Y Axis properties to the clipboard and paste to the X Axis.

YAxis.CopyFormat

XAxis.PasteFormat

 

Used by: AutoShape Object