[求助]vb快速向excel填入字符
我想用vb向excel的A2-A50填入相同字符"hello"
向B2-B50输入连续序列1-49,
该怎么做呢 ?谢谢!
我用以下语句,执行好像很慢,是不是有快点的(用vb)?
i = 2 To 50
objSheet.Cells(i, 1) = "hello"
objSheet.Cells(i, 2) = i-1
Next
我想用vb向excel的A2-A50填入相同字符"hello"
向B2-B50输入连续序列1-49,
该怎么做呢 ?谢谢!
我用以下语句,执行好像很慢,是不是有快点的(用vb)?
i = 2 To 50
objSheet.Cells(i, 1) = "hello"
objSheet.Cells(i, 2) = i-1
Next