static public string OffsetIt(string cellRef, CellRef offset) { CellRef result = new CellRef(cellRef); result.OffsetIt(offset); return(result.ToString()); }
override public string ToString() { string result; if (start.Equals(end)) { result = start.ToString(); } else { result = string.Format("{0}:{1}", start, end); } if (sheetName.Length > 0) { result = string.Format("{0}!{1}", sheetName, result); } return(result); }