dim n as integer = Tables("表").rows(Tables("表").position)("左格的列名")
dim n1 as integer = Tables("表").rows(Tables("表").position+1)("左格的列名")
dim sm as integer = n + n1
if n+n1 >= 10
Tables("表").rows(Tables("表").position)("右格的列名") = sm-10
Else
Tables("表").rows(Tables("表").position)("右格的列名") = sm
End If