'Declaration Public Function CopyTo( _ ByVal to As RangeBase, _ ByVal insertLocation As InsertLocation, _ Optional ByVal copyStrategy As FormattingCopyStrategy _ ) As Range
public Range CopyTo( RangeBase to, InsertLocation insertLocation, FormattingCopyStrategy copyStrategy )
Parameters
- to
- The destination range.
- insertLocation
- The target location relative to the destination range.
- copyStrategy
- Indicates whether to preserve the source formatting.
Return Value
A Range value representing the copied content.