How do I insert a calendar that will autoupdate?

P

Pete

I am trying to add a calendar to a single slide in my presentation. I
inserted the Calendar Control 11.0 but do not know how it works. Will it
autoupdate the date daily? If not, is there another calendar that I can use?
I cannot get the code right to make this work.
 
P

Pete

Maybe I should have said, "I cannot find the right code to make this work".
I'm not proficient in VB and was just trying to use code that I found. The
code, however, was not what I was looking for at all.
 
A

Austin Myers

Pete,

Assuming you place the calendar control on the slide, right click it and
then select view code. THat will open the VBA editor and you shold be
looking at a screen with this in it:

Private Sub Calendar1_Click()

End Sub

Insert a statement so the result looks like this:

Private Sub Calendar1_Click()
Calendar1.Today
End Sub


Now any time the presentation is running and you click on the calendar it is
updated to todays date. (Assuming your PC clock is correct.)
 
P

Pete

That was great, but is there a way that will update upon opening? It will be
posted to the web for several viewers daily.
 

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

Top