Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default calendar control

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default calendar control

Hi Pam

Use this then

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


--

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


"Pam M" wrote in message ...
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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default calendar control

oh so close...I tried with ddd and gave up to soon. This works
perfectly--thank you so much!

"Ron de Bruin" wrote:

Hi Pam

Use this then

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


--

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


"Pam M" wrote in message ...
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


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default calendar control

ddd will give you the short name

Like Sat



--

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


"Pam M" wrote in message ...
oh so close...I tried with ddd and gave up to soon. This works
perfectly--thank you so much!

"Ron de Bruin" wrote:

Hi Pam

Use this then

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


--

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


"Pam M" wrote in message ...
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


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default calendar control

I must have done something wrong the first time. I tried it again with ddd,
and it works also. Thanks for your help.

"Ron de Bruin" wrote:

ddd will give you the short name

Like Sat



--

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


"Pam M" wrote in message ...
oh so close...I tried with ddd and gave up to soon. This works
perfectly--thank you so much!

"Ron de Bruin" wrote:

Hi Pam

Use this then

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


--

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


"Pam M" wrote in message ...
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar Control Help Exceller Excel Programming 2 November 27th 07 09:39 PM
Calendar Control Patrick Simonds Excel Programming 1 June 23rd 06 11:18 PM
Control disappeared problem - specifically, the Calendar Control JMMach[_2_] Excel Programming 0 December 16th 05 01:53 AM
Calendar Control Jim Zeeb[_2_] Excel Programming 1 July 12th 05 08:42 PM
Calendar Control: Can't exit design mode because control can't be created Rone Excel Programming 0 May 24th 04 04:01 PM


All times are GMT +1. The time now is 06:43 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"