Jonmo1
MrExcel MVP
- Joined
- Oct 12, 2006
- Messages
- 44,061
I'm still learning to use arrays, but they are very useful. To this point i have used a line like this to determine if a value exists within the array.
x = array("Test","Test2","Test3"))
Y = worksheetfunction.match("Test2", x)
IF Y <> "" Then ....etc.
Is there an easier way to check if a value exists within an array?
Thanks
x = array("Test","Test2","Test3"))
Y = worksheetfunction.match("Test2", x)
IF Y <> "" Then ....etc.
Is there an easier way to check if a value exists within an array?
Thanks