#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default DT Picker

Hi,

How do I get the value of a DT Picker. For example I select a date
4/1/2005. How do I get 4/1/2005. I want to have two DT picker and compare
the value between them. Thank you in advance for help..



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 318
Default DT Picker

If you are talking about the Calendar control then all you do is get its
value property - UserForm1.Calendar1.Value

Alok Joshi

"Alex Martinez" wrote:

Hi,

How do I get the value of a DT Picker. For example I select a date
4/1/2005. How do I get 4/1/2005. I want to have two DT picker and compare
the value between them. Thank you in advance for help..




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default DT Picker

Also to compare try:

datediff("d",UserForm1.Calendar1.Value,UserForm2.C alendar2.Value)
the "d" is the day type, this wil return the number of days between the two
date, supplied from the calendar objects.

Regards

"Alok" wrote:

If you are talking about the Calendar control then all you do is get its
value property - UserForm1.Calendar1.Value

Alok Joshi

"Alex Martinez" wrote:

Hi,

How do I get the value of a DT Picker. For example I select a date
4/1/2005. How do I get 4/1/2005. I want to have two DT picker and compare
the value between them. Thank you in advance for help..




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
Is there a Time picker? Barry Excel Discussion (Misc queries) 2 February 19th 10 02:55 PM
Date Picker Canon Excel Discussion (Misc queries) 2 October 5th 09 05:38 PM
add date picker tab New Users to Excel 1 June 1st 09 02:15 PM
Picker hi-lighing CraigSA Excel Discussion (Misc queries) 0 April 5th 06 11:27 AM
DT Picker Control Jack_F Excel Programming 6 June 12th 04 11:21 PM


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