XlHlp.XlLocation AddSection_ChildNodes( XlHlp.XlLocation insertAt, string NodeType, ReadOnlyCollection <CatalogNode> childNodes) { //XlHlp.DisplayInWatchWindow(insertAt); //// List the team project collections XlHlp.AddContentToCell(insertAt.InsertRow(1), string.Format("{0}({1})", NodeType, childNodes.Count)); //currentRow = startingRow; //int innerRowsAdded = 0; //int col = 1; //foreach (CatalogNode child in childNodes) //{ // // Need to fix this so expands down the page // innerRowsAdded = AddSection_CatalogNode(ws, rngOutput, child); // insertAt = innerRowsAdded; // currentRow += innerRowsAdded; //} //XlLocation.Rows++; return(insertAt); }