In a macro I need to hide a number of rows in a worksheet if the content of a cell is "Purchasing". If it is true, hide the rows, if not skip the hide and go to the next command but stay in the macro. Can anyone help me? My VB is very weak.

Thanks
Ed