Be the first user to complete this post

  • 0
Add to List

VBA Excel - Cells, Ranges and Offset: Refer Range by using A1 Notations

In the earlier tutorial (Range), you have seen how you use Range property. In this tutorial you will see the many different ways to use Range property to refer the excel sheet’s rows and columns.

Reference - Range (“A1”)

-          Refer Cell A1

Reference – Range (“A1:D10”)

-          Refer all the cells from A1 to D10 ( The entire MxN matrix)

Reference – Range(“A1:C3”,”D5:H7”)

-          Refer all the cells from A1 to C3 and D5 to H7

Reference – Range(“A:A”)

-          Entire Column A

Reference – Range(“A:F”)

-          Columns from A to F

Reference – Range(“A:A”,”M:M”)

-          Columns A and M

Similarly you can write the reference for rows

Reference – Range(“2:2”)

-          Entire Row 2

Reference- Range(“2:5”)

-          All the rows from 2 to 5

Reference – Range (“3:3”,”5:5”)

-          Rows 3 and 5



Also Read:

  1. VBA-Excel: Get all the WeekDays or Working days in Specified Date Range, (excluding Satudays and Sundays)
  2. VBA-Excel: CurrentRegion
  3. VBA-Excel: Consolidator – Merge or Combine Multiple Excel Files Into One
  4. VBA-Excel: Fill Excel Range Values in a 2D Array
  5. VBA-Excel: Date-Time Functions - Timer()