Specifies the part of the range to be pasted.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[Visual Basic] Public Enum XlPasteType As Byte [C#] public enum XlPasteType : byte [C++] public __value enum XlPasteType : char [JScript] public enum XlPasteType : Byte
| Member Name | Description | Value |
|---|---|---|
| xlPasteAll | Everything will be pasted. | 23 |
| xlPasteFormats | Formatting will be pasted. | 1 |
| xlPasteValues | Only the values will be pasted. | 2 |
| xlPasteColumnWidths | The column width of the source cell will be applied to the destination cell. | 4 |
| xlPasteNumberFormats | Number formats will be pasted. | 8 |
| xlPasteValuesAndNumberFormats | Values and number formats are pasted. | 10 |
| xlPasteComments | Comments will be pasted. | 16 |
Namespace: NativeExcel
Assembly: NativeExcel (in NativeExcel.dll)
NativeExcel Namespace | Move Method | Copy Method