I am almost done,

I am at the point where i want to hide a row based on whether or not is says "HIDE" or "DONT HIDE" in the Z column(Z6:Z500)

Suggestions?