Hi All,
Firstly thank you to all of you who have been helping each other. The posts here have gotten me through tones of work.
I need a little help with a search and copy macro. Im usually ok with this kind of thing but the problem is i cant find a way to search 2 adjacent cells for a partial match.
I can use the Instr function on a single cell down through all the rows but i cant get it to check both cells. In my case its C and D.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]BB[/TD]
[TD]CB[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]BA[/TD]
[TD]BA[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]CB[/TD]
[TD]AA[/TD]
[/TR]
</tbody>[/TABLE]
In the second and third column i need the adjacent cells to be checked for "C" for example.
After C is found i will copy the row to another sheet in the same workbook.
Thank you very much for your help.
Nasser
Firstly thank you to all of you who have been helping each other. The posts here have gotten me through tones of work.
I need a little help with a search and copy macro. Im usually ok with this kind of thing but the problem is i cant find a way to search 2 adjacent cells for a partial match.
I can use the Instr function on a single cell down through all the rows but i cant get it to check both cells. In my case its C and D.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]BB[/TD]
[TD]CB[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]BA[/TD]
[TD]BA[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]CB[/TD]
[TD]AA[/TD]
[/TR]
</tbody>[/TABLE]
In the second and third column i need the adjacent cells to be checked for "C" for example.
After C is found i will copy the row to another sheet in the same workbook.
Thank you very much for your help.
Nasser