I am having some trouble with InsertAt. This was what I used: TrackerStorage.Rows.InsertAt(row, temp), but am still getting error —Expression does not produce value—. I will greatly appreciate if you can share the syntax of using InsertAt.
I am actually trying to Insert a Row in a Particular row of Exel. I will also appreciate if you can share a better way of doing this instead of InsertAt. Thank you!
AS-IS WORKFLOW, TO-BE WORKFLOW
-
Other information about the use case
Industry categories for this use case: Other Sector
Skill level required: Beginners
UiPath Products that were used: UiPath Studio
Other applications that were used: -
Other resources: -
What is the top ROI driver for this use case?: Other
Just did this but still gets an error that say ‘DataRowCollection’ does not have a public instance method named ‘InsertAt’ matching the parameter types, generic type arguments, and generic type constraints supplied to InvokeMethod ‘Invoke Method’.
Yeah, I tired public void InsertAt (System.Data.DataRow row, int pos); already with TrackerStorage.Rows.InsertAt(row, temp).
That was my initial question and my error was Expression does not produce a Value
Sir I saw this but I clearly don’t understand. I will appreciate if you can explain how mine is mismatched so I can gain knowledge else I will just create a new question activity
Okay do I convert that? or what do I do about that? My Variable TrackerStorage is a DataTable from a read range Excel file.
I am trying to insert the row in-between the Exel file, and the variable TrackerStorage with has DataTable as it datatype is where the Excel table is store for the UiPath.
the row is variable with a variable name ( we cannot know your current used variable name) of datatype DataRow.
this can be used as explained above.
Is the rowvariable correctly declared and maybe populated with values? How was it done? Maybe you can share this part of implementation by a screenshot with us. Thanks