Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelWorkbookMergeOptions

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
c47203b3ce89 with working tree changes
Modifiers
sealed

Options for importing worksheets from one workbook into another.

Inheritance

  • object
  • ExcelWorkbookMergeOptions

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 1

Constructors

public ExcelWorkbookMergeOptions() #

Methods

public ExcelWorkbookMergeOptions Clone() #

Creates an independent copy of the workbook import settings and selected sheet names.

Properties

public IReadOnlyList<string>? SheetNames { get; set; } #

Gets or sets source worksheet names to import. When empty, all source worksheets are imported.

public string? SheetNamePrefix { get; set; } #

Gets or sets an optional prefix added to every imported worksheet name.

public ExcelSheetNameValidationMode SheetNameValidationMode { get; set; } #

Gets or sets sheet name validation behavior for imported worksheets.

public ExcelWorksheetCopyMode CopyMode { get; set; } #

Gets or sets the worksheet copy strategy used for imported sheets.

public bool CopyExternalWorkbookReferences { get; set; } #

Gets or sets whether package-mode imports may preserve external-workbook references. External links are rejected unless callers opt in explicitly.

public int MaxDefinedNames { get; set; } #

Gets or sets the maximum number of referenced defined names copied in package mode.

public int MaxDefinedNameCharacters { get; set; } #

Gets or sets the maximum aggregate formula characters across copied defined names.

public int MaxInCellImages { get; set; } #

Gets or sets the maximum number of in-cell image references copied across package-mode imports.

public long MaxInCellImageBytes { get; set; } #

Gets or sets the maximum payload size of one in-cell image copied in package mode.

public long MaxTotalInCellImageBytes { get; set; } #

Gets or sets the maximum aggregate resolved in-cell image bytes copied across package-mode imports. Shared image assets are charged once per referencing cell.