Hello,
I am looking if someone can make VBA that can highlights last 3 rows in the column C:I if finds the sequence of "1X2" order does not matter must be all 3 character there
As per example below
Thank you all
Excel 2000
Regards,
Moti
I am looking if someone can make VBA that can highlights last 3 rows in the column C:I if finds the sequence of "1X2" order does not matter must be all 3 character there
As per example below
Book1 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | ||||||||||||
2 | ||||||||||||
3 | ||||||||||||
4 | ||||||||||||
5 | ||||||||||||
6 | ||||||||||||
7 | N | Year | n1 | n2 | n3 | n4 | n5 | n6 | n7 | |||
8 | N | Year | n1 | n2 | n3 | n4 | n5 | n6 | n7 | |||
9 | 1 | 70/71 | X | 1 | 1 | 2 | 1 | 2 | 1 | |||
10 | 2 | 70/71 | 2 | 1 | X | X | 2 | 2 | 2 | |||
11 | 3 | 70/71 | 2 | 1 | 2 | 1 | 1 | 2 | 2 | |||
12 | 4 | 70/71 | 1 | X | X | 1 | 1 | 1 | X | |||
13 | 5 | 70/71 | 2 | 1 | 2 | X | X | 1 | X | |||
14 | 6 | 70/71 | 2 | 2 | 2 | 1 | 1 | 1 | X | |||
15 | 7 | 70/71 | 1 | 1 | 1 | X | 2 | 2 | 2 | |||
16 | 8 | 70/71 | 1 | X | 1 | 1 | 2 | 1 | 2 | |||
17 | 9 | 70/71 | 1 | 1 | 2 | 1 | 1 | X | 1 | |||
18 | 10 | 70/71 | 2 | 2 | 1 | X | 1 | 2 | 2 | |||
19 | 11 | 70/71 | 2 | X | X | X | 2 | 1 | 2 | |||
20 | 12 | 70/71 | 2 | 1 | X | 2 | 2 | 2 | 2 | |||
21 | 13 | 70/71 | 1 | 2 | X | X | 2 | 1 | 2 | |||
22 | 14 | 70/71 | X | X | 1 | 1 | 2 | 1 | 1 | |||
23 | 15 | 70/71 | 1 | 1 | 2 | 2 | 1 | 1 | 2 | |||
24 | 16 | 70/71 | X | 2 | 1 | 1 | 2 | 2 | 1 | |||
25 | 17 | 70/71 | 1 | 1 | 2 | X | 1 | 1 | X | |||
26 | 18 | 70/71 | 1 | 2 | X | 1 | 1 | 2 | 2 | |||
27 | 19 | 70/71 | 2 | 1 | 2 | 1 | 2 | 1 | 1 | |||
28 | 20 | 70/71 | 1 | 1 | 2 | X | X | 1 | 1 | |||
29 | 21 | 70/71 | 2 | 1 | 1 | X | 2 | 1 | 2 | |||
30 | 22 | 70/71 | 1 | X | 2 | 1 | 2 | 1 | 1 | |||
31 | 23 | 70/71 | 1 | 2 | X | X | 2 | 2 | 2 | |||
32 | 24 | 70/71 | X | 1 | X | 2 | 1 | 1 | 2 | |||
33 | 25 | 70/71 | 2 | 1 | 1 | 1 | X | 2 | 1 | |||
34 | 26 | 70/71 | 1 | 2 | 2 | 2 | 2 | 2 | X | |||
35 | ||||||||||||
Sheet2 |
Thank you all
Excel 2000
Regards,
Moti