PC Review


Reply
Thread Tools Rate Thread

Date and time picker use in a userform

 
 
ed.ayers315
Guest
Posts: n/a
 
      15th Nov 2009
Hello,

New to this forum. What I see I like and feel I will get a solution here.

I have a user form designed where I need the user to put 38 Dates and times
of when events happen. It is easy to just expect them to manually put in the
data but we all know the more typing the less chace of getting the info you
need.

Does an answer exist for this issue?

I can send the file but do not see a way to attach here.

(E-Mail Removed)
--
Ed Ayers
 
Reply With Quote
 
 
 
 
muddan madhu
Guest
Posts: n/a
 
      15th Nov 2009
To Display date in combobox, you can use this

Private Sub UserForm_Initialize()

For dt = 40000 To 40500
With UserForm1
.ComboBox1.AddItem (Format(dt, "MMM DD,YYYY"))
End With
Next dt
End Sub


On Nov 15, 10:08*am, ed.ayers315
<edayers...@discussions.microsoft.com> wrote:
> Hello,
>
> New to this forum. What I see I like and feel I will get a solution here.
>
> I have a user form designed where I need the user to put 38 Dates and times
> of when events happen. It is easy to just expect them to manually put in the
> data but we all know the more typing the less chace of getting the info you
> need.
>
> Does an answer exist for this issue?
>
> I can send the file but do not see a way to attach here. *
>
> ed.ayers...@hotmail.com
> --
> Ed Ayers


 
Reply With Quote
 
om
Guest
Posts: n/a
 
      16th Nov 2009
you can also use date and time picker control to pick date

For this right click on toobox in VBA window.
go to additional controls - Select Microsoft Date and Time Picker Control
6.0 and place it on your user form..

Regards
Om

"muddan madhu" wrote:

> To Display date in combobox, you can use this
>
> Private Sub UserForm_Initialize()
>
> For dt = 40000 To 40500
> With UserForm1
> .ComboBox1.AddItem (Format(dt, "MMM DD,YYYY"))
> End With
> Next dt
> End Sub
>
>
> On Nov 15, 10:08 am, ed.ayers315
> <edayers...@discussions.microsoft.com> wrote:
> > Hello,
> >
> > New to this forum. What I see I like and feel I will get a solution here.
> >
> > I have a user form designed where I need the user to put 38 Dates and times
> > of when events happen. It is easy to just expect them to manually put in the
> > data but we all know the more typing the less chace of getting the info you
> > need.
> >
> > Does an answer exist for this issue?
> >
> > I can send the file but do not see a way to attach here.
> >
> > ed.ayers...@hotmail.com
> > --
> > Ed Ayers

>
> .
>

 
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 / Time Picker V6.0 - Control moves location on userform! =?Utf-8?B?TWFyaw==?= Microsoft Excel Programming 0 3rd Oct 2005 03:28 PM
I am trying to use the Microsoft Date and Time Picker control and I am getting the following error "an error occured in a call to the windows date and time picker control" in access 2000 Ralph Malph Microsoft Access Forms 0 25th Oct 2004 07:00 PM
Date time picker setting current date at creation eyad hasan Microsoft Outlook Form Programming 2 26th Mar 2004 04:11 PM
MS Date and Time Picker Control defaults to today's date =?Utf-8?B?UmF2aQ==?= Microsoft Outlook Form Programming 1 23rd Jan 2004 03:31 PM
MS Date and Time Picker Control defaults to today's date =?Utf-8?B?UmF2aQ==?= Microsoft Outlook Program Addins 0 14th Jan 2004 06:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:10 AM.