![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Posts: 113
|
I perform an intersection, but sometimes the result is nothing. I have not been able to find a means to test if isect is nothing.
Set isect = Application.Intersect(SourceSelection, Range("A10:A65000")) I want the equivalent to: If isect = "nothing" then msgbox "No relevant data." Thanks. [ This Message was edited by: Brian on 2002-05-20 14:47 ] [ This Message was edited by: Brian on 2002-05-20 17:23 ] |
|
|
|
|
|
#2 |
|
Legend
Join Date: Feb 2002
Location: Minneapolis, Mn, USA
Posts: 9,704
|
Hello Brian, perhaps the following procedure will be of use:
_________________ Cheers, NateO [ This Message was edited by: NateO on 2002-05-20 15:41 ] |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Posts: 113
|
Thanks.
Sorry, oversight on my part. I had tried "isnothing" as one word instead of two. Thanks again, Brian |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|