Solved

Calendar Options grids

Posted on 2004-03-29
3
242 Views
Last Modified: 2008-02-01
I am able to change the gridfontcolor for every single date, but is it possible to change the color for one particular grid

The code below changes all the grid font colors.

Dim f As Object
    Set f = Me.Calendar1
    f.GridFontColor = vbRed
    Set f = Nothing

The pseudo I was thinking was

if(f.value=20/3/2004) then
    f.gridfontcolor = vbred
else
   f.gridfontcolor =vbvblue
end if

The result would be the 20/3/2004 would have red as it colour and all others have blue.

Does anyone have any suggestions?

0
Comment
Question by:michaelsremasys
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Accepted Solution

by:
goliak earned 125 total points
ID: 10711496
I'll dissapoint you, but this is impossible. I'd like to do the same in my db's, but i didn't find the way out.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question