Hello,
I'm trying to write a relatively simple function. What I want it to do is count pairs of records within "range" of one another - to determine whether a record is in range or not is trivial. So I want to compare the first record to every other record in the table, second record to every other record (excluding the first). I know how to set this up as a nested for loop in other languages but my knowledge of vba is virtually nil.
If anyone could help me out I would greatly appreciate this. Thanks.
I'm trying to write a relatively simple function. What I want it to do is count pairs of records within "range" of one another - to determine whether a record is in range or not is trivial. So I want to compare the first record to every other record in the table, second record to every other record (excluding the first). I know how to set this up as a nested for loop in other languages but my knowledge of vba is virtually nil.
If anyone could help me out I would greatly appreciate this. Thanks.