I'm trying to declare 7 variables as Ranges. I'm currently using this format
Dim Rg1 As Range
Dim Rg2 As Range
Dim Rg3 As Range
Dim Rg4 As Range
Dim Rg5 As Range
Dim Rg6 As Range
Dim Rg7 As Range
But i want to use this format
Dim Rg1, Rg2, Rg3, Rg4, Rg5, Rg6, Rg7 As Range
I thought there'd be no difference in this but apparently there is. Using the top format, the macro works perfectly. When i change and use the second format, i get the following error
Runtime error '424' Object Required
It makes this error when the range Rg4 is empty. It doesn't give an error when i use the first format though. Why?

Dim Rg1 As Range, Rg2 As Range, ...Setstatement.