DataTable does not have public instance method named "ImportRow"

Hi all,

Am trying to create a simple program to extract select data from an excel and import into a new excel.

As am using the “Excel application scope - read range- Assign - For Each row - Get row - If condition - Invoke Method” sequence, i get the compilation error for the “Method name”.

Kindly help.

Hi @dhilip,
Why do use the import row instead of Add rows activity.

https://activities.uipath.com/docs/add-data-row

Regards
Balamurugan

You probably forgot to pass your DataRow variable in the Parameters section of InvokeMethod activity.

6 Likes

Thanks @vvaidya for saving my time. :slightly_smiling_face:

Helped a Lot !! Thanks !!