Is there any way within VBA code to format specific cells in a form's current datasheet?

e.g. I want to highlight certain cells that contain errors so they stand out.

Thanks, DaveBo