?
Solved

Calendar Options grids

Posted on 2004-03-29
3
Medium Priority
?
245 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 500 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

Industry Leaders: 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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
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.

752 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