Sum As Double With CurrentTable Sum = .Aggregate(AggregateEnum.Sum, .TopRow, .LeftCol, .BottomRow, .RightCol) End With OutPut.Show(Sum)
这段代码在什么情况下会显示结果出来,我做在按钮中不行.
2楼
yangming 发表于:2009/11/27 14:33:00
Dim Sum As Double With CurrentTable Sum = .Aggregate(AggregateEnum.Sum, .TopRow, .LeftCol, .BottomRow, .RightCol) e.Form.Controls("Label1").text = Sum End With