Select
使用VBA代码Sub Demo()
Dim lastRow As Long, oSht As Worksheet
Set oSht = ActiveSheet ' modify as needed
lastRow = oSht.Cells(oSht.Rows.Count, "A").End(xlUp).Row
If lastRow > 1 Then
' Select the first 3 Cols
oSht.Range("A2:C" & lastRow).Select
' Select rows
' oSht.Range("2:" & lastRow).Select
End If
End Sub