Hi,
I am pulling my hair out over this one. I basically want a macro to delete all the rows where 'Fox' appears in a cell (i.e IF Fox exists in the text in Column B, or Column C, or Column D, then delete the entire row. The number of rows will be variable. I can't work out how to use ifs in vba without getting a 'if without block if' error (this is a bit beyond my ability).
The example file is attached. Many thanks in advance.
I am pulling my hair out over this one. I basically want a macro to delete all the rows where 'Fox' appears in a cell (i.e IF Fox exists in the text in Column B, or Column C, or Column D, then delete the entire row. The number of rows will be variable. I can't work out how to use ifs in vba without getting a 'if without block if' error (this is a bit beyond my ability).
The example file is attached. Many thanks in advance.