private void updateCells(string name)
 {
     foreach (string s in sheet.getTheDependents(name))
     {
         int col = name[0] - 65;
         int row;
         Int32.TryParse(s.Substring(1, name.Length - 1), out row);
         spreadsheetPanel1.SetValue(col, row - 1, sheet.GetCellValue(s).ToString());
     }
 }