How to select cells in Excel?

You can select cells or ranges that are not next to each other, by separating the cells or ranges using a comma in VBA. The following code will allow you to select cells A1, C1, and E1: You can also select sets of non-contiguous ranges in VBA. The following code will select A1:A9 and B11:B18: You can select all the cells in a worksheet using VBA.
For More Information Please Refer:


You May Also Like to Read: