NativeExcel2 for .Net Developer's Reference

XlPasteType Enumeration

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]
PublicEnumXlPasteTypeAsByte
[C#]
publicenumXlPasteType:byte
[C++]
public__valueenumXlPasteType:char
[JScript]
publicenumXlPasteType:Byte

Members

Member NameDescriptionValue
xlPasteAllEverything will be pasted.23
xlPasteFormatsFormatting will be pasted.1
xlPasteValuesOnly the values will be pasted.2
xlPasteColumnWidthsThe column width of the source cell will be applied to the destination cell.4
xlPasteNumberFormatsNumber formats will be pasted.8
xlPasteValuesAndNumberFormatsValues and number formats are pasted.10
xlPasteCommentsComments will be pasted.16

Requirements

Namespace: NativeExcel

Assembly: NativeExcel (in NativeExcel.dll)

See Also

NativeExcel Namespace | Move Method | Copy Method