Sub Worksheet_Combine()
Dim i As Long
Dim j As Long
For i = 1 To 3
For j = 7 To 10
If Cells(1, i) = Cells(1, j) Then
Cells(1, j).EntireColumn.Select
Next j
Next i
End Sub
Running the Sub procedure above throws the following error:
What am I doing wrong?