Hi, I am opening a spreadsheet and looking for particular namedrange say "PeopleData"
a recent change to the spreadsheet template has updated the name to "AllPeopleData"
I want to check on runtime that if "PeopleData" doesn't exist use the other namedrange "AllPeopleData"
I have to keep both for compatibility purpose...
a recent change to the spreadsheet template has updated the name to "AllPeopleData"
I want to check on runtime that if "PeopleData" doesn't exist use the other namedrange "AllPeopleData"
I have to keep both for compatibility purpose...
c#
if (Workbook.NamedRanges.Contains("PeopleData"))
use this
else
use "AllPeopleData"