I have 2 named ranges Test1 and Test2,
Test1 is A1:I9 and Test2 is K11:S19,
The ranges will have number and blank cells in them, how can I compare them in VBA to let me know if they are identical.
Thanks
Some thing like this, but this does not work, for excel 2003
Test1 is A1:I9 and Test2 is K11:S19,
The ranges will have number and blank cells in them, how can I compare them in VBA to let me know if they are identical.
Thanks
Some thing like this, but this does not work, for excel 2003
Code:
If Test1 = Test2 Then
MsgBox "Named Ranges Are The Same"
End If
End Sub