1个回答
展开全部
msflexgrid.Rows = msflexgrid.Rows + 1
For i = msflexgrid.Rows - 1 To msflexgrid.Row + 2 Step -1
For j = 0 To msflexgrid.Cols - 1
msflexgrid.TextMatrix(i, j) = msflexgrid.TextMatrix(i - 1, j)
Next
Next
msflexgrid.Row = msflexgrid.Row + 1
For i = msflexgrid.Row To msflexgrid.Row
For j = 0 To msflexgrid.Cols - 1
msflexgrid.TextMatrix(i, j) = ""
Next
Next
For i = msflexgrid.Rows - 1 To msflexgrid.Row + 2 Step -1
For j = 0 To msflexgrid.Cols - 1
msflexgrid.TextMatrix(i, j) = msflexgrid.TextMatrix(i - 1, j)
Next
Next
msflexgrid.Row = msflexgrid.Row + 1
For i = msflexgrid.Row To msflexgrid.Row
For j = 0 To msflexgrid.Cols - 1
msflexgrid.TextMatrix(i, j) = ""
Next
Next
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询