如何选择所有值的范围,直到第3行下的末尾?

时间:2019-04-06 20:30:46

标签: excel vba range

Set Data = range(Cells(3, 1), .End(xlDown).End(xlToRight)).Select

1 个答案:

答案 0 :(得分:0)

dim Data as range

with ActiveSheet.Cells(3, 1)
    Set Data = range(.End(xlToRight), .End(xlDown))
    Data.Select
end with