Hi everybody,
I just joined the forum, mi name in Nic and I come from Italy.
Here's my question, hope someone could help me!
I got a range("A1:A20") in sheet2, each cell has a value of this kind: 50.20.00 P, 49.13.00 P and so on...for a total of 20 different values.
Now I want to search for these values in in sheet1.
I want do that with a macro but not writing a thousand if,
so I was thinking if ther's a way to create an array which contains the 20 differnt values (eg. I want the the instructions that read the values in the cells A1:A20 and create an array whit these values).
Then the macro will search for the values (contained in the array) in sheet1.range("A2:A1700"), if the value is found i want that the entirerow would be filled with yellow.
Hope you'll understand, sorry for my english![Stick out tongue :p :p](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
please help me!!!
thanks a milion
I just joined the forum, mi name in Nic and I come from Italy.
Here's my question, hope someone could help me!
I got a range("A1:A20") in sheet2, each cell has a value of this kind: 50.20.00 P, 49.13.00 P and so on...for a total of 20 different values.
Now I want to search for these values in in sheet1.
I want do that with a macro but not writing a thousand if,
so I was thinking if ther's a way to create an array which contains the 20 differnt values (eg. I want the the instructions that read the values in the cells A1:A20 and create an array whit these values).
Then the macro will search for the values (contained in the array) in sheet1.range("A2:A1700"), if the value is found i want that the entirerow would be filled with yellow.
Hope you'll understand, sorry for my english
please help me!!!
thanks a milion