First, I apologize if I am posting this in the wrong room. I am completely out of my element here.

I need to make a very specific If Then in excel 2007 and I am lost. I know how to do If Then's when it comes to numbers, but that is about it. This is what I am trying to figure out.

If cell A23 is empty, I need to delete row 23.

After that is completed then,
If A27 has the word Message in the cell, I need to delete rows 26 and 27.

Is it even possible to do this? Any help would be greately appreciated.

Oh, actually, as another question, I would like to do these If Then's within a macro, is there any problem with setting up the If Then within a macro? (macro's I am down with, If Then is like speaking another language)

Thank you again!