Copy(Boolean,Boolean) Method
In This Topic
Copies the data from a range of cells to clipboard.
Syntax
'Declaration
Overloads Function Copy( _
Optional ByVal As Boolean, _
Optional ByVal As Boolean _
) As Boolean
'Usage
Dim instance As IRange
Dim showUI As Boolean
Dim excludeHidden As Boolean
Dim value As Boolean
value = instance.Copy(showUI, excludeHidden)
Parameters
- showUI
true
if the UI shows copying range; otherwise, only data is copied to clipboard.- excludeHidden
true
if copying excludes hidden range(s); false
otherwise
Return Value
true
if the cell range is copied successful, false
otherwise.
See Also