A simple solution would be to use Conditional Formatting to change the color
of the text box. It's on the format menu, in report design view, when you
select the text box (or on the Design tab of the ribbon in A2007.)
If you do want to programmatically change the border, use the Format event
of the section containing the text box, to set its BorderColor and
BorderStyle.