@vasundhara.sharma , here are some links that may help you connecting to Excel using the ODBC driver.
https://uipath.my.salesforce-sites.com/CaseView/articles/Knowledge/How-to-use-xlslx-as-a-Database-in-UiPath-and-perform-sql-queries?lang=en_US