PasteOptions

PasteOptions class

Represents the paste special options.

Constructors

NameDescription
PasteOptions

Properties

NameTypeDescription
PasteTypeintThe paste special type. The value of the property is PasteType integer constant.
ShiftFormulasOfShapesboolean
SkipBlanksbooleanIndicates whether skips blank cells.
KeepOldTablesboolean
OnlyVisibleCellsbooleanTrue means only copying visible cells.
TransposebooleanTrue to transpose rows and columns when the range is pasted. The default value is False.
OperationTypeintGets and sets the operation type when pasting range. The value of the property is PasteOperationType integer constant.
IgnoreLinksToOriginalFilebooleanIngore links to the original file.

PasteOptions()

PasteOptions.PasteType property

The paste special type. The value of the property is PasteType integer constant.

Type: int

PasteOptions.ShiftFormulasOfShapes property

Type: boolean

PasteOptions.SkipBlanks property

Indicates whether skips blank cells.

Type: boolean

PasteOptions.KeepOldTables property

Type: boolean

PasteOptions.OnlyVisibleCells property

True means only copying visible cells.

Type: boolean

PasteOptions.Transpose property

True to transpose rows and columns when the range is pasted. The default value is False.

Type: boolean

PasteOptions.OperationType property

Gets and sets the operation type when pasting range. The value of the property is PasteOperationType integer constant.

Type: int

PasteOptions.IgnoreLinksToOriginalFile property

Ingore links to the original file.

Type: boolean