There's only one yellow cell
If I'm understanding the question ....
Capture.JPG
Option Explicit
Sub Guess()
Dim r As Range, r1 As Range, r2 As Range, r3 As Range
Set r = Range("A1:B16")
Set r1 = r.Columns(1).SpecialCells(xlCellTypeConstants)
Set r2 = r.Columns(2).SpecialCells(xlCellTypeConstants)
MsgBox r.Address
MsgBox r1.Address
MsgBox r2.Address
Set r3 = Intersect(r1.EntireRow, r2.EntireRow)
MsgBox r3.Address
'or all on one big long line
MsgBox Intersect(Range("A1:B16").Columns(1).SpecialCells(xlCellTypeConstants).EntireRow, Range("A1:B16").Columns(2).SpecialCells(xlCellTypeConstants).EntireRow).Address
End Sub
or just the A:B columns
Capture1.JPG
Option Explicit
Sub Guess()
Dim r As Range, r1 As Range, r2 As Range, r3 As Range
Set r = Range("A1:B16")
Set r1 = r.Columns(1).SpecialCells(xlCellTypeConstants)
Set r2 = r.Columns(2).SpecialCells(xlCellTypeConstants)
MsgBox r.Address
MsgBox r1.Address
MsgBox r2.Address
Set r3 = Intersect(r1.EntireRow, r2.EntireRow)
MsgBox r3.Address
'or all on one big long line
MsgBox Intersect(Range("A1:B16").Columns(1).SpecialCells(xlCellTypeConstants).EntireRow, Range("A1:B16").Columns(2).SpecialCells(xlCellTypeConstants).EntireRow).Address
'or all on one big long line with just the 2 columns
MsgBox Intersect(Range("A1:B16"), Range("A1:B16").Columns(1).SpecialCells(xlCellTypeConstants).EntireRow, Range("A1:B16").Columns(2).SpecialCells(xlCellTypeConstants).EntireRow).Address
End Sub