杭州配货站电话号码:VB高手们帮帮忙好吗?

来源:百度文库 编辑:神马品牌网 时间:2024/04/28 07:00:55
要把MSHFlexGrid1中的数据导入到excel中,这样写行吗?

Row = 1
For i = 0 To MS1.Rows - 1
For j = 0 To MS1.Cols - 1
newsheet.Cells(i + Row, j) = MS1.TextMatrix(i, j)

Next j

Next i

运行的时候提示newsheet.Cells(i + Row, j) = MS1.TextMatrix(i, j)错误424
帮帮忙呀!