code on multiple columns

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

I have the following code for a report (a column) that
shows in Bold, days no later than 30 days.
I have 4 more colums that show days and I need to apply
the same expression for the rest of the columns. But
somehow it doesn't work. If I apply it to the next one the
previous one stops working. Is it doable? if yes how...

if DateDiff("d",[LC Sent],date) <=30 then
[LC Sent].FontBold = true
else
[LC Sent].FontBold = false
end if

many thanks,
 
Back
Top