public static bool RangeExists(this Excel.Worksheet workSheet, string name) { return(workSheet.NamedRanges().Exists(x => x == name)); }