[]
Copies this range to another range.
public Range CopyTo(RangeBase to, InsertLocation insertLocation, FormattingCopyStrategy copyStrategy = FormattingCopyStrategy.Copy)
Public Function CopyTo([to] As RangeBase, insertLocation As InsertLocation, Optional copyStrategy As FormattingCopyStrategy = FormattingCopyStrategy.Copy) As Range
Type | Name | Description |
---|---|---|
RangeBase | to | The destination range. |
InsertLocation | insertLocation | The target location relative to the destination range. |
FormattingCopyStrategy | copyStrategy | Indicates whether to preserve the source formatting. |