Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default Date Time Picker

Hello,

I have a datetime picker on a userform. It works great as far as getting a
date from user.

However, after a date is selected, I check reservations for that date. I've
noticed that I need to add the same code to the dropdown event and the change
event for the datetime picker.

If the date is already on a the date for the next customer, the change event
won't fire. Therefore, I've added code to both drop down and the change.

But really, what I need is code to run after the user has selected a date.

Is there an event that tells me a date has been clicked on the pop up
calendar part of the datetime picker? That would be ideal.

Thanks,

Tony
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Date Time Picker

Private Sub DTPicker1_CloseUp()
MsgBox "Selected"
End Sub

OR

Exit event after selection


If this post helps click Yes
---------------
Jacob Skaria


"Webtechie" wrote:

Hello,

I have a datetime picker on a userform. It works great as far as getting a
date from user.

However, after a date is selected, I check reservations for that date. I've
noticed that I need to add the same code to the dropdown event and the change
event for the datetime picker.

If the date is already on a the date for the next customer, the change event
won't fire. Therefore, I've added code to both drop down and the change.

But really, what I need is code to run after the user has selected a date.

Is there an event that tells me a date has been clicked on the pop up
calendar part of the datetime picker? That would be ideal.

Thanks,

Tony

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default Date Time Picker

Jacob,

That was exactly what I needed. I didn't even know of the event closeup.
WOW!

Thanks.

"Jacob Skaria" wrote:

Private Sub DTPicker1_CloseUp()
MsgBox "Selected"
End Sub

OR

Exit event after selection


If this post helps click Yes
---------------
Jacob Skaria


"Webtechie" wrote:

Hello,

I have a datetime picker on a userform. It works great as far as getting a
date from user.

However, after a date is selected, I check reservations for that date. I've
noticed that I need to add the same code to the dropdown event and the change
event for the datetime picker.

If the date is already on a the date for the next customer, the change event
won't fire. Therefore, I've added code to both drop down and the change.

But really, what I need is code to run after the user has selected a date.

Is there an event that tells me a date has been clicked on the pop up
calendar part of the datetime picker? That would be ideal.

Thanks,

Tony

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
Date Time Picker Haarish Excel Programming 3 April 10th 09 04:58 PM
pop up Date time picker Mike Excel Discussion (Misc queries) 3 November 17th 06 08:00 PM
Date and Time Picker DAN J Excel Discussion (Misc queries) 2 September 21st 06 11:47 PM
Date and Time Picker Jeff G Excel Programming 4 January 1st 06 01:30 PM
Set Value for Date/Time Picker Bill Lunney Excel Programming 1 July 21st 03 04:29 PM


All times are GMT +1. The time now is 07:11 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"