you can use conditional formatting for that. Select the whole row, click conditional formatting - new rule - use a formula to determine... and enter a formula like
=$G1="yes"
then set the format and hit OK
Note the placement of the $ sign. This formula is for your "yes" value in column G and row 1 being the selected row.
If you define your data area as a table in 2007, then formats and formulas will automatically be applied to new rows.