CopyObjectsWithCells Property [Excel 2007 Developer Reference]

Switch View :
ScriptFree
Application.CopyObjectsWithCells Property
True if objects are cut, copied, extracted, and sorted with cells. Read/write Boolean.

Syntax

expression.CopyObjectsWithCells

expression   A variable that represents an Application object.

Example

This example sets Microsoft Excel to cut, copy, extract, and sort objects with cells.

Visual Basic for Applications
Application.CopyObjectsWithCells = True