title: vba code : if the number of rows are =1 then display a message box and stop the macro else continue the macro
body: <p>i need a vba code for the following. Will be glad if you can help.vba code : if 
  the number of rows are =1 (only for the visible cells) then display a message box and stop the macro else continue the macro.</p>