Hi Nipun,
You can use the following code snippet to determine whether a range with specific name exists or not.
[C#]
// Naming a Range
workbook.Names.Add("One",sheet1.Range["A1"]);
//determine whether a range with specific name exists or not
if(workbook.Names.Contains("One")==true)
{
sheet1.Range["One"].Text="Hello World!";
}
Here is the sample for your reference:
Get_name.zipKindly take a look at the sample above and let me know if you have any other questions.
Regards,
Melba