Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Infosys
IN
Last activity: 26 Aug 2020 8:41 EDT
Excel - Find value using UsedRange in automation
Hi,
I want to check the value is exist or not in the excel. for ex: if user enters value in the textbox and then I will check whether this value is exists in excel or not. So, I used .net code as below.
Microsoft.Office.Interop.Excel.Range selectedRow = xlWorkSheet.UsedRange.Find(textBox1.Text, ................);
Instead of .net code how to find the value using usedrange as per attached image.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.