eliminated compiler warnings on deprecated API usage of Selection.Elements and ViewSheet.Views