Hiding errors (2002)

I've seen someplace a way to hide error messages (ie N/A, #DIV/0! etc) using conditional formatting - but can't remember where I saw it and what the formula was to do it - any body out there know the answer?