private bool Check_Filled(ExcelRange block) { IEnumerator enumerator = block.GetEnumerator(); while (enumerator.MoveNext()) { object item = enumerator.Current; if ((item as ExcelRangeBase).Value != null) { return(true); } } return(false); }