--
Tables("表A").sort = "第一列"
Dim idx As Integer = math.Floor(Tables("表A").Rows.Count / 2)
For i As Integer = 0 To idx
Tables("表A").Rows(i)("第二列") = "上半部分"
Next
For i As Integer = idx+1 To Tables("表A").Rows.Count - 1
Tables("表A").Rows(i)("第二列") = "下半部分"
Next