Macro to Select first 1000 cells in Excel


Select the first 1000 cells of Column A


Sub Select1000Cells()
Range("A1:A1000").Select
End Sub

Select a specific data range in a worksheet

Sub Select40Cells()
Range("D10:K23").Select
End Sub

How to use codes shared here?