ExternalRangeCopy method
Copies the content of one range to another.
Syntax
success = waffleObject.ExternalRangeCopy(srcRange, destRange)
Applies to
Waffle class.
Parameters
- srcRange
- String. The name of the range to copy from. You can specify range coordinates, for example, "A1..D5", or a range name.
- destRange
- String. The name of the range to copy to. You can specify range coordinates, for example, "E1..H5", or a range name.
Return value
boolean. The value is true if the method succeeds, and false otherwise.
Usage
If the source range is a single cell, row, or column, the content is copied to the destination as many times as it takes to fill the destination range. If the source range is more than one row or column, the content is copied only once, even if the destination range is larger than the source.
Example
ExternalRangeCopy example
See also
ExternalRangeMove method