In my worksheet I have unique values in the following ranges, D3:D18, L3:L18, T3:T18 and…
- User
In my worksheet I have unique values in the following ranges, D3:D18, L3:L18, T3:T18 and ranges D22:D37, L22:L37, T22:T37.
In column AB3:AB18 values are entered that will match a value in the ranges D3:D18, L3:L18, T3:T18. In column AB22:AB37 values are entered that will match a value in the ranges D22:D37, L22:L37, T22:T37.
I want two VBA codes that will do the followig.
The first VBA code will;
Immediately when I enter a value in the range AB3:AB18, it will find the value in ranges D3:D18, L3:L18, T3:T18 and highlight the cell Yellow where the match is found. Immediately when I enter a value in the range AB22:AB37, it will find the value in ranges D22:D37, L22:L37, T22:T37 and highlight the cell Yellow where the match is found.
The second VBA code on Page Activate will;
Check if any of the values in AB3:AB18 are found in D3:D18, L3:L18, T3:T18 or vice versa. If any match is found, the cell match in the range D3:D18, L3:L18, T3:T18 must be highlighted Yellow. If no match is found the in the range D3:D18, L3:L18, T3:T18 the cell or cells must not have any higlight. Likewise, if any of the values in AB22:AB37 are found in D22:D37, L22:L37, T22:T37 or vice versa, the cell match in the range D22:D37, L22:L37, T22:T37 must be highlighted Yellow. If no match is found the in the range D22:D37, L22:L37, T22:T37 the cell or cells must not have any higlight.
- Assistant