vba练习-while循环
统计所有学生的平均成绩,当A列继续输入时,仍能统计。Sub 统计()Dim i, total, counttotal = 0count = 0i = 2Do While Cells(i, 1) <> ""total = total + Cells(i, 2)count = count + 1i = i + 1LoopIf count > 0 ThenCells(3, 3).Val...