DateTimePicker Control Events

J

jille

Hi,

I'm using a DateTimePicker in a Word 2000 userform and want to run a
procedure once a date is chosen. I'm currently using the Change event but
find that it is a problem in that the routine runs when you're in the process
of navigating around the calendar instead of when the user finishing making a
selection.

I checked for other events and found some but wasn't sure which I can/should
use in Word. Any suggestions? fyi, I found a control.leave,
control.lostfocus and a datetimepicker.valuechanged event.

Thanks
 
C

Cindy M.

Hi =?Utf-8?B?amlsbGU=?=,
I'm using a DateTimePicker in a Word 2000 userform and want to run a
procedure once a date is chosen. I'm currently using the Change event but
find that it is a problem in that the routine runs when you're in the process
of navigating around the calendar instead of when the user finishing making a
selection.

I checked for other events and found some but wasn't sure which I can/should
use in Word. Any suggestions? fyi, I found a control.leave,
control.lostfocus and a datetimepicker.valuechanged event.
If the events are listed, you should be able to use them. Generally, a
"container" filters out events that aren't supported (and sometimes adds
events). To get assistance on the DateTimePicker, specifically, you should look
for a newsgroup for the application group the control belongs to. The
DateTimePicker is NOT part of the Office distribution; perhaps it's classic VB?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top