UiPath Documentation
activities
latest
false

Productivity activities

VLookupRange

Finds a value in a range using the VLOOKUP function.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

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

Syntax

string VLookupRange(
	IWorkbook workbook,
	IRange range,
	object valueToLookup,
	int columnIndex,
	bool exactMatch = true
)
string VLookupRange(
	IWorkbook workbook,
	IRange range,
	object valueToLookup,
	int columnIndex,
	bool exactMatch = true
)

Parameters

workbook IWorkbook : The workbook file to use.

range IRange : The range to search in.

valueToLookup Object : The value to search for in the first column of the range.

columnIndex Int32 : The column index in the range containing the value to return.

exactMatch Boolean (Optional) : If true, only exact matches are returned.

Return value

String - The matched value as a string.

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated