Skip to content
Sheetwrite

@sheetwrite/core

PasteSpecialOptionsinterface

Report a problem

On this page

Excel's Paste Special choices. Without options, Paste Special pastes as Paste does.

Members

Properties

paste?: PasteSpecialKind;

optional

What to paste; "all" by default.

operation?: PasteSpecialOperation;

optional

Combine copied numbers with the target cells' numbers; "none" by default.

skipBlanks?: boolean;

optional

Leave a target cell as it is where the copied cell is blank.

transpose?: boolean;

optional

Paste the copied rows as columns and the columns as rows.

ask?: boolean;

optional

Open Excel's Paste Special dialog (Ctrl+Alt+V) and paste what the user chooses there.

Declaration

View full TypeScript declaration
export interface PasteSpecialOptions {
paste?: PasteSpecialKind;
operation?: PasteSpecialOperation;
skipBlanks?: boolean;
transpose?: boolean;
link?: boolean;
ask?: boolean;
}

Referenced by

Public exports naming PasteSpecialOptions