UiPath Documentation
activities
latest
false

Productivity activities

CopyRange

Copies a range from a source workbook to a destination workbook.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

Assembly: UiPath.MicrosoftOffice365.Activities.Api (in UiPath.MicrosoftOffice365.Activities.Api.dll)

Syntax

void CopyRange(
	IWorkbook sourceWorkbook,
	IRange sourceRange,
	IWorkbook destinationWorkbook,
	IRange destinationRange,
	CellReadMode whatToCopy = CellReadMode.Values
)
void CopyRange(
	IWorkbook sourceWorkbook,
	IRange sourceRange,
	IWorkbook destinationWorkbook,
	IRange destinationRange,
	CellReadMode whatToCopy = CellReadMode.Values
)

Parameters

sourceWorkbook IWorkbook : The workbook to copy from.

sourceRange IRange : The range to copy.

destinationWorkbook IWorkbook : The workbook to paste into.

destinationRange IRange : The range to paste into.

whatToCopy CellReadMode (Optional) : Specifies what to copy: values, formulas, or text.

  • Syntax
  • Parameters

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated