PasteType

PasteType enumeration

Represents the paste special type.

Values

NameValueDescription
All0Copies all data of the range.
Default1It works as “All” behavior of MS Excel.
AllExceptBorders2Copies all data of the range without the range.
DefaultExceptBorders3It works as “All except borders” behavior of MS Excel.
ColumnWidths4Only copies the widths of the range.
RowHeights5Only copies the heights of the range.
Comments6Only copies comments in the range.
Formats7Only copies formats in the range.
Formulas8Only copies formulas in the range.
FormulasAndNumberFormats9Only copies formulas and number formats in the range.
Validation10Only copies validations in the range.
Values11Only copies values in the range.
ValuesAndFormats12Only copies values and formats in the range.
ValuesAndNumberFormats13Only copies values and number formats in the range.