This will select all the cells below A3 until a blank cell is found. You can use the other arrows accordingly. Press Ctrl + A to select the entire range of cells. Method 3 – Use the Name Box to Select a Range of Cells in Excel Enter B5:C10 in the Name Box above the upper left...
Enter the SUM function in cell C11. Excel will prompt you to specify the range of cells to sum. Select the first cell in the range (C5). Drag the fill handle downward to include all cells in the range, stopping at cell C9 (the last cell in the range). Alternatively, you can hold...
Column) Range(FirstCell, LastCell).Select End Sub Copy Step 3: Press the F5 key to run this macro. Then it selects used range in active worksheet immediately.Select all non-blank cells in the active worksheet with Kutools for Excel If you have Kutools for Excel installed, you can ...
If your data begins in cell C1, but is not contiguous in that column, use the following macro in Microsoft Office Excel 2003 and in earlier versions of Excel: Sub SelectRangeDown_Discontiguous() Range("c1", Range("c65536").End(xlUp)).Select End Sub Bec...
Because Microsoft Office Excel 2007 supports 1,048,576 rows, use the following macro in Excel 2007: Sub SelectRangeDown_Discontiguous() Range("c1", Range("c1048576").End(xlUp)).Select End Sub If you want to select from the active cell down and all col...
Step 1:Write the subprocedure for VBA Selecting Range. Code: SubVBA_Range2()End Sub Step 2:Now in the Range function, we will put the random cells that we want to select in place of sequential range. Let’s put cell A1, B2 and C3 separated by commas into the brackets. ...
Range("A1",Range("A"&Rows.Count).End(xlUp)).Select Copy Note: This VBA code supports Excel 2003 to 2013. When this code is used with the following example table, range A1:A8 will be selected. Select a rectangular range of cells around a cell ...
There is no change in selecting the cells or range of cells in Excel. The process of selecting the cells is the same and is shown below:For contiguous cells, select the cell from where you want to create your selection and After that, press and hold the “Shift” button from the ...
The Microsoft Excel'sGo tocommand can help you select non-adjacent cells or ranges quickly with following steps: 1. Click theHome>Find & Select>Go to(or press theF5key). 2. In theGo Todialog box, enter the cell/range positions in theReferencebox, and click lick theOKbutton. ...
Select a Named Range in Excel You can selectNamed Rangesas well. Let’s say you have named cells A1:A4 Fruit. You can use the following code to select this named range: Range("Fruit").Select Selecting a Cell on Another Worksheet