private void fillFormula(Record r) { oRng = oSheet.get_Range("D" + (r.startIndex + 1), "D" + (r.startIndex + r.step)); oRng.Formula = "=$D$" + r.startIndex + " & \".\" & C" + (r.startIndex + 1); }
private void applyIndent(Record r) { if(r.depth == 0) { oSheet.get_Range("B" + (r.startIndex + 1), "B" + (r.startIndex + r.step)).IndentLevel = 2; } }