Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / May 2008

Tip: Looking for answers? Try searching our database.

calendar control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pam M - 27 May 2008 20:54 GMT
I used Ron's calendar control and it is slick!  I can see in the click-event
that the date is custom formatted to mm/dd/yyyy.  I want to add the day of
the week in front of the date.  Is it as simple as changing this line of the
macro, and if so, what should it say?  Thanks so much, Pam
Ron de Bruin - 27 May 2008 21:07 GMT
Hi Pam

Use this then

   ActiveCell.NumberFormat = "dddd mm/dd/yyyy"

Signature

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm

>I used Ron's calendar control and it is slick!  I can see in the click-event
> that the date is custom formatted to mm/dd/yyyy.  I want to add the day of
> the week in front of the date.  Is it as simple as changing this line of the
> macro, and if so, what should it say?  Thanks so much, Pam
Pam M - 27 May 2008 21:40 GMT
oh so close...I tried with ddd and gave up to soon.  This works
perfectly--thank you so much!

> Hi Pam
>
[quoted text clipped - 6 lines]
> > the week in front of the date.  Is it as simple as changing this line of the
> > macro, and if so, what should it say?  Thanks so much, Pam
Ron de Bruin - 27 May 2008 21:53 GMT
ddd will give you the short name

Like Sat

Signature

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm

> oh so close...I tried with ddd and gave up to soon.  This works
> perfectly--thank you so much!
[quoted text clipped - 9 lines]
>> > the week in front of the date.  Is it as simple as changing this line of the
>> > macro, and if so, what should it say?  Thanks so much, Pam
Pam M - 28 May 2008 11:55 GMT
I must have done something wrong the first time.  I tried it again with ddd,
and it works also.  Thanks for your help.

> ddd will give you the short name
>
[quoted text clipped - 13 lines]
> >> > the week in front of the date.  Is it as simple as changing this line of the
> >> > macro, and if so, what should it say?  Thanks so much, Pam
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.