PC Review


Reply
Thread Tools Rate Thread

date reverts to serial number

 
 
stewart
Guest
Posts: n/a
 
      9th Sep 2007
I have a drop down box in a userform that allows the user to select
from the seven days of the week. These days are stored on a sheet in
this format: dddd - mm/dd/yyyy and appear as such when the user clicks
on the drop down arrow. However once the desired day is selected it
shows the serial version of the date. Any suggestions on a way to set
it show that after the user selects the date it still shows the date
and not the serial

 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWljaGFlbA==?=
Guest
Posts: n/a
 
      9th Sep 2007
You also need to format the linked cell as date
--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"stewart" wrote:

> I have a drop down box in a userform that allows the user to select
> from the seven days of the week. These days are stored on a sheet in
> this format: dddd - mm/dd/yyyy and appear as such when the user clicks
> on the drop down arrow. However once the desired day is selected it
> shows the serial version of the date. Any suggestions on a way to set
> it show that after the user selects the date it still shows the date
> and not the serial
>
>

 
Reply With Quote
 
stewart
Guest
Posts: n/a
 
      9th Sep 2007
On Sep 9, 6:14 pm, Michael <Mich...@discussions.microsoft.com> wrote:
> You also need to format the linked cell as date
> --
> If this posting was helpful, please click on the Yes button.
> Regards,
>
> Michael Arch.
>
> "stewart" wrote:
> > I have a drop down box in a userform that allows the user to select
> > from the seven days of the week. These days are stored on a sheet in
> > this format: dddd - mm/dd/yyyy and appear as such when the user clicks
> > on the drop down arrow. However once the desired day is selected it
> > shows the serial version of the date. Any suggestions on a way to set
> > it show that after the user selects the date it still shows the date
> > and not the serial


i should clarify that once the date is selected the date appears as a
serial while still displayed in the userform. the source is formated
correctly and when i place the value of the drop down box into a cell
it displays as i would like it/ my problem is the in between time
when after the user has selected the date.

 
Reply With Quote
 
=?Utf-8?B?VG9tVGh1bWI=?=
Guest
Posts: n/a
 
      10th Sep 2007
Have you tried using the DateSerial function?
--
TomThumb


"stewart" wrote:

> On Sep 9, 6:14 pm, Michael <Mich...@discussions.microsoft.com> wrote:
> > You also need to format the linked cell as date
> > --
> > If this posting was helpful, please click on the Yes button.
> > Regards,
> >
> > Michael Arch.
> >
> > "stewart" wrote:
> > > I have a drop down box in a userform that allows the user to select
> > > from the seven days of the week. These days are stored on a sheet in
> > > this format: dddd - mm/dd/yyyy and appear as such when the user clicks
> > > on the drop down arrow. However once the desired day is selected it
> > > shows the serial version of the date. Any suggestions on a way to set
> > > it show that after the user selects the date it still shows the date
> > > and not the serial

>
> i should clarify that once the date is selected the date appears as a
> serial while still displayed in the userform. the source is formated
> correctly and when i place the value of the drop down box into a cell
> it displays as i would like it/ my problem is the in between time
> when after the user has selected the date.
>
>

 
Reply With Quote
 
stewart
Guest
Posts: n/a
 
      10th Sep 2007
On Sep 10, 3:00 am, TomThumb <TomTh...@discussions.microsoft.com>
wrote:
> Have you tried using the DateSerial function?
> --
> TomThumb
>
> "stewart" wrote:
> > On Sep 9, 6:14 pm, Michael <Mich...@discussions.microsoft.com> wrote:
> > > You also need to format the linked cell as date
> > > --
> > > If this posting was helpful, please click on the Yes button.
> > > Regards,

>
> > > Michael Arch.

>
> > > "stewart" wrote:
> > > > I have a drop down box in a userform that allows the user to select
> > > > from the seven days of the week. These days are stored on a sheet in
> > > > this format: dddd - mm/dd/yyyy and appear as such when the user clicks
> > > > on the drop down arrow. However once the desired day is selected it
> > > > shows the serial version of the date. Any suggestions on a way to set
> > > > it show that after the user selects the date it still shows the date
> > > > and not the serial

>
> > i should clarify that once the date is selected the date appears as a
> > serial while still displayed in the userform. the source is formated
> > correctly and when i place the value of the drop down box into a cell
> > it displays as i would like it/ my problem is the in between time
> > when after the user has selected the date.


Could you please clarify Tom. No I am not using the DateSerial
function and I am afraid to say that I am not familiar with how to use
it.

 
Reply With Quote
 
papou
Guest
Posts: n/a
 
      10th Sep 2007
Hello stewart
Use the Change event from your combobox eg:
Private Sub ComboBox1_Change()
With ComboBox1
..Value = Format(.Value, "dddd - mm/dd/yyyy")
End With
End Sub

HTH
Cordially
Pascal

"stewart" <(E-Mail Removed)> a écrit dans le message de news:
(E-Mail Removed)...
> On Sep 10, 3:00 am, TomThumb <TomTh...@discussions.microsoft.com>
> wrote:
>> Have you tried using the DateSerial function?
>> --
>> TomThumb
>>
>> "stewart" wrote:
>> > On Sep 9, 6:14 pm, Michael <Mich...@discussions.microsoft.com> wrote:
>> > > You also need to format the linked cell as date
>> > > --
>> > > If this posting was helpful, please click on the Yes button.
>> > > Regards,

>>
>> > > Michael Arch.

>>
>> > > "stewart" wrote:
>> > > > I have a drop down box in a userform that allows the user to select
>> > > > from the seven days of the week. These days are stored on a sheet
>> > > > in
>> > > > this format: dddd - mm/dd/yyyy and appear as such when the user
>> > > > clicks
>> > > > on the drop down arrow. However once the desired day is selected
>> > > > it
>> > > > shows the serial version of the date. Any suggestions on a way to
>> > > > set
>> > > > it show that after the user selects the date it still shows the
>> > > > date
>> > > > and not the serial

>>
>> > i should clarify that once the date is selected the date appears as a
>> > serial while still displayed in the userform. the source is formated
>> > correctly and when i place the value of the drop down box into a cell
>> > it displays as i would like it/ my problem is the in between time
>> > when after the user has selected the date.

>
> Could you please clarify Tom. No I am not using the DateSerial
> function and I am afraid to say that I am not familiar with how to use
> it.
>



 
Reply With Quote
 
stewart
Guest
Posts: n/a
 
      11th Sep 2007
On Sep 10, 10:34 am, "papou" <cpapoupasbon@çanonpluslaposte.net>
wrote:
> Hello stewart
> Use the Change event from your combobox eg:
> Private Sub ComboBox1_Change()
> With ComboBox1
> .Value = Format(.Value, "dddd - mm/dd/yyyy")
> End With
> End Sub
>
> HTH
> Cordially
> Pascal
>
> "stewart" <smccallis...@gmail.com> a écrit dans le message de news:
> 1189420582.724473.22...@y42g2000hsy.googlegroups.com...
>
> > On Sep 10, 3:00 am, TomThumb <TomTh...@discussions.microsoft.com>
> > wrote:
> >> Have you tried using the DateSerial function?
> >> --
> >> TomThumb

>
> >> "stewart" wrote:
> >> > On Sep 9, 6:14 pm, Michael <Mich...@discussions.microsoft.com> wrote:
> >> > > You also need to format the linked cell as date
> >> > > --
> >> > > If this posting was helpful, please click on the Yes button.
> >> > > Regards,

>
> >> > > Michael Arch.

>
> >> > > "stewart" wrote:
> >> > > > I have a drop down box in a userform that allows the user to select
> >> > > > from the seven days of the week. These days are stored on a sheet
> >> > > > in
> >> > > > this format: dddd - mm/dd/yyyy and appear as such when the user
> >> > > > clicks
> >> > > > on the drop down arrow. However once the desired day is selected
> >> > > > it
> >> > > > shows the serial version of the date. Any suggestions on a way to
> >> > > > set
> >> > > > it show that after the user selects the date it still shows the
> >> > > > date
> >> > > > and not the serial

>
> >> > i should clarify that once the date is selected the date appears as a
> >> > serial while still displayed in the userform. the source is formated
> >> > correctly and when i place the value of the drop down box into a cell
> >> > it displays as i would like it/ my problem is the in between time
> >> > when after the user has selected the date.

>
> > Could you please clarify Tom. No I am not using the DateSerial
> > function and I am afraid to say that I am not familiar with how to use
> > it.

that did the trick thank you

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Format of the Serial Number of the Date Bob Barnes Microsoft Access 16 25th Mar 2008 02:27 AM
Serial number of Date Gazzr Microsoft Excel Worksheet Functions 2 24th Mar 2006 08:59 AM
Date displays as serial number. Cannot format to display as date =?Utf-8?B?U3VubnlH?= Microsoft Excel Crashes 1 7th Mar 2006 02:32 PM
Serial number of a date... =?Utf-8?B?U3V6eQ==?= Microsoft Access Queries 4 26th Jul 2005 01:33 PM
How do I convert Date serial number to date =?Utf-8?B?cmR1bm5l?= Microsoft Excel Worksheet Functions 1 12th Apr 2005 03:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:27 PM.