INTERSECT function
Posted by Minh on December 23, 2001 10:14 PM
I always have problem with INTERSECT function.
I have the following code which always return
MsgBox "NOT in the list",
With another version of Excel in another computer
The error1004 always give Object variable or with block variable not set
Dim isect As Range
Worksheets("Data").Activate
Set isect = Application.Intersect(ActiveCell, Range("G4:G8"))
If isect Is Nothing Then
MsgBox "NOT in the list
Else
MsgBox "IS in the list"
End If
Can any one help !
Minh