Read Data From Excel using the sheet name

Certified Senior Developer

Currently in the functions we have to pass the sheet number to extract the information from excel. Is there is any other excel plugin or function to get the data using the sheet name.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Hi  ,

    There is some workaround available. You can Fetch the Sheet Name through RPA.

    • Create a Robotic Task.
    • Pass the File in the RPA Task to read the sheet Name.
    • The sheet name will be passed in the same order as the Excel document.
    • Create an Index for the same Name.
    • Use the Excel Plugin to read with the index constructed by sheetName.

    ****This is not the optimal solution*****

    Below are some screenshots of configuring these actions in the Robotic Task.

    Note:

    • This will take some time around 10 to 15 sec to complete, depends how you configured the Wait time in Robotic Task.
    • Check with the project team they are okay with the RPA approach.

Reply
  • 0
    Certified Lead Developer

    Hi  ,

    There is some workaround available. You can Fetch the Sheet Name through RPA.

    • Create a Robotic Task.
    • Pass the File in the RPA Task to read the sheet Name.
    • The sheet name will be passed in the same order as the Excel document.
    • Create an Index for the same Name.
    • Use the Excel Plugin to read with the index constructed by sheetName.

    ****This is not the optimal solution*****

    Below are some screenshots of configuring these actions in the Robotic Task.

    Note:

    • This will take some time around 10 to 15 sec to complete, depends how you configured the Wait time in Robotic Task.
    • Check with the project team they are okay with the RPA approach.

Children