Open
Description
In some cases, the Copy method is used to copy only certain ExcelRangeCopyOptionFlagof , instead of copying all types and excluding certain ExcelRangeCopyOptionFlags. For example, I just want to copy the formula, I don't need to copy anything else.
Like the VBA interface, its special paste is only for a certain type of paste,It's single-choice
Finally, there is a special case, that is, the selection is a cell, can not be copied to multiple cells, in the VBA interface, this can be very flexible, and even can be copied to multiple discontinuous Ranges.
The current status of EPPLUS is to copy to the target cell Range, and if the source region is a cell, the copied result is also an top left cell in this continuous region
Sub testCopyMultiRange()
Dim rng As Range
Set rng = Range("G10")
rng.Copy Range("J15:J20,G11:G20")
End Sub
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Pending Release