A boolean value indicating whether or not to copy merged cells.

 public boolean CopyMergedCells{ get; set; }
Public Property CopyMergedCells() As Boolean

If this value is set to false, any content inside merged cells in the source worksheet will be ignored.


          //--- Is the property object set to copy merged cells?
          boolean willCopyMergedCells = copyPasteProperties.CopyMergedCells;

          //--- Set the property object to copy cell values.
          copyPasteProperties.CopyMergedCells = true;
        

          '--- Is the property object set to copy merged cells?
          Dim willCopyMergedCells As Boolean = copyPasteProperties.CopyMergedCells

          '--- Set the property object to copy merged cells.
          copyPasteProperties.CopyMergedCells = True