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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Using Detail.Print 6
Color coded field on condition 1
IF..THEN and Hiding Rows 1
invalid syntax... 3
invalid syntax 2
CONDITIONAL FORMATTING IN VB 5
IIf expression 1
d look up 10

Back
Top