internal void FixLinks(ExcelFile Workbook, int ActiveSheet) { BuildTree(Workbook); for (int i = 0; i < Tree.Count; i++) { if (Tree[i].Buttons.Count > 0) { TMsObj ms = Tree[i].Buttons[0].ClientData as TMsObj; if (ms != null) { TCellAddress LinkedCell = ms.GetObjectLink(Workbook); if (LinkedCell != null) { CheckRadioButtons(Workbook, ActiveSheet, i, LinkedCell); } } } } }