Dim cs() As String = {"批次", "序号"}
Dim cr As Row = Tables("表A").CurrentIf cr IsNot Nothing AndAlso cr.Index < Tables("表A").Rows.Count - 1 Then Dim nr As Row = Tables("表A").Rows(cr.Index + 1) For Each c As String In cs Dim temp As String = nr(c) nr(c) = cr(c) cr(c) = temp NextEnd If
要把选定行除批次和序号这两列外其它列内容能连续上移或下移(上移按钮和下移按钮事件),这个怎么改