conditionally changing back color, how to?

  • Thread starter Thread starter SF
  • Start date Start date
S

SF

Hi
I have a timesheet report that display 1 - 30 days in a month. Is there a
way to change back color to gray for Saturday and Sunday column (or may be
other holiday)?

I use access 2003.

SF
 
Yes this can be done. You might be able to use code or conditional
formatting. It would help to know what your field names are and how you
might determine which controls are bound to weekend dates.
 
Hi,

My report is based from a crosstab query.

ID Name 01/03/2006 02/03/2006 03/03/2006 ETC..
23 xyz 7.5 7.5 7.5

I want to set back color to gray if the date fall under Saturday or Sunday.
How would conditional formatting help in this case?
 
You can use code to check the control source to convert it from text to a
date and find out if it has a WeekDay() value of 1 or 7 to set the back
color to gray.

Duane Hookom
MS Access MVP
 

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

Back
Top