CopyOptions.ReferToSheetWithSameName

CopyOptions.ReferToSheetWithSameName property

In ms excel, when copying formulas which refer to other worksheets while copying a worksheet to another one, the copied formulas should refer to source workbook. However, for some situations user may need the copied formulas refer to worksheets with the same name in the same workbook, such as when those worksheets have been copied before this copy operation, then this property should be kept as true.

public bool ReferToSheetWithSameName { get; set; }

Remarks

The default value is true.

See Also