@ranshikasrivastava99 (Ranshikasrivastava99) posted a new topic, subject "Getting error as length cannot be zero in the read range activity in excel, can anyone please help". It read:

   Hi,
    
    I am getting error as length cannot be less than zero and parameter Length in the read range activity using workbook activity in uipath, but when i changed the file chosen the error disappeared.
    
    Can anyone let me know why i was getting that error.

After which, @supermanPunch (Arpan) added

    @ranshikasrivastava99 Can you maybe post the Error Screenshot and let us know what are the differences between the two files you have chosen ?

After which, @ranshikasrivastava99 (Ranshikasrivastava99) added

    Hi @supermanPunch Thanks for the response.
    
    Error1382×624 41.6 KB
    
    .

Then @monsieurrahul (Rahul Prabhu) said

    Does the range contain a DT in a proper format with/without headers? Can you post a screenshot, if possible?

@ranshikasrivastava99 (Ranshikasrivastava99) replied

    @monsieurrahul Thanks for the response ,PFA

So @ranshikasrivastava99 (Ranshikasrivastava99) replied

    @monsieurrahul @supermanPunch Can you help me out with this.

So @monsieurrahul (Rahul Prabhu) replied

    Can you please share a screenshot of your Excel? Possibly the data in the range A2:D6?


{'source': 'discourse', 'url': 'https://forum.uipath.com/t/getting-error-as-length-cannot-be-zero-in-the-read-range-activity-in-excel-can-anyone-please-help/293000', 'title': 'Getting error as length cannot be zero in the read range activity in excel, can anyone please help', 'views': 425, 'has_accepted_answer': False, 'word_count': 138, 'like_count': 0, 'reply_count': 4, 'participant_count': 3, 'posts': 7, 'tags': 'activities excel', 'author': '@ranshikasrivastava99 (Ranshikasrivastava99)', 'participants': '@ranshikasrivastava99 (Ranshikasrivastava99), @supermanPunch (Arpan), @monsieurrahul (Rahul Prabhu)', 'image_url': [None], 'created_at': '2021-02-23T04:39:39.180Z', 'last_posted_at': '2021-02-25T04:37:51.521Z'}