February 8, 2017, 8:06pm
I am trying to read range from excel starting from a specific cell onwards. for example. i want to read the range from cell B9 onwards but i it will be dynamic based on the excel document.
I tried to read the range from "B9: " but it didnt work, is there any suggestion please since the end cell is not defined and will be changed based on the document ?
Have you tried just B9 without the colon? Or can you just use B9:B1000000 (or the max possible number) and simply remove any blank items from your datatable?
February 8, 2017, 9:54pm
I have tried all the options, it just doesn’t like it. please let me know if there is anything you’ve tried works. Also regarding setting up the end cell as B10000 that is a good idea.
I am new to UIpath, would you please guide me how to remove the blanks?
February 8, 2017, 10:00pm
@Yan: Why aren’t you going through the training materials first?
November 24, 2017, 1:52pm
@Yan please, have you found the answer?
Thank you !
December 14, 2018, 7:03pm
Just use “B9” From the UiPath documentation:
Range - Specifies the range of cells to be read. If this value is not specified, the whole spreadsheet is read. If the value consists of only one cell, the whole spreadsheet is read starting from that cell. Only String variables and strings are supported.
UiPath.Excel.Activities.ReadRange Reads the value of an Excel range and stores it in a DataTable variable. If the range isn't specified, the whole spreadsheet is read. If the range is specified as a cell, the whole spreadsheet starting from that cell...
@dzhou I have faced the same problem
I have try to read range from “b19” but it come to “error” and say"Read Range: A column named ‘420’ already belongs to this DataTable."
February 14, 2019, 3:23pm
@xiepanfeng This is a different issue. Do you have two identical column headers with the name ‘420’?
I have figured it out, tks
Can you please share how you managed to figure it out please ?
it means you have greater than 2 columns with the same column name…
OK thank you. I’ll investigate this.
November 30, 2022, 10:14am
I don’t want to open another topic, because my question is in fact the same, but it relates to action ‘Read Range’ in the ‘Microsoft Office 365 Activities’.
In the classic Read Range writing one cell (eg. ‘A5’) is interpreted as the starting cell.
In the O365 Read Range writing one cell is interpreted as reading only one cell.
How can I set the starting cell in O365 Read Range action?
Did you find any solution?