标签: vba long-integer msgbox
这段代码有什么问题
Sub wahwah() Dim lastrow As Long lastrow = Cells(Rows.count, 1).End(x1Up).Row MsgBox _ "The last row is: " & lastrow End Sub
答案 0 :(得分:0)
应该是 xlUp 但是你用 X1UP