
Objects
Excel has a large number of objects, and the VBA allows us to easily create and manipulate them. We can declare variable as an object by specifying the variable name and the object name as a type. Then, using the Set command, we assign the actual object to a variable. Once this is done, we can change its properties or run methods – subroutines that allow further manipulation of objects.