
Originally Posted by
astro_al
Ok, thanks again, but its still not working for me.
To clarify, TEMP4 is a variable, and I want to search column 80 of my ARRAY for the current value of TEMP4. I want TEMP2 to hold the value of the row number where TEMP4 occurs in the array column.
Does it make a difference that I am talking about 2D arrays and you are talking about worksheet cells?
I have tried:
TEMP2 = Match(TEMP4, FAIL_ARRAY(1:56, 80),0)
and,
TEMP2 = Match(TEMP4, FAIL_ARRAY(1, 80): FAIL_ARRAY(56, 80),0)
Surely this should work for both cells and arrays??? I just keep getting syntax errors... I would have thought looking for a value in an array and being able to return its position was pretty basic and fundamental, no...?
Help! Al.
Bookmarks