Outlook end time

W

warbornster

In a combobox of style DropDownCombo, Im having a list of end times,
and just like the appointment end time Im showing how many hours there
is from the starttime (xx:xx (x hours)). Now that someone want to
select some of those values both the time and the text come up, and I
dont want that, so I thought that I could use
Item_PropertyChange(ByVal Name) and when the name is "End", take the
whole string, erase everything past the 5 first chars, and then let
this be the time. This doesn't work though, the event never execute
because the string isnt a vaild timevalue, so it only works if I
select something like 15:00. I then tried with another method, now
trying to fire an unbound propertychange event. This would have worked
well if my combobox didnt were of the type DropDownCombo, so I changed
the type to DropDownList. Of course this triggers a whole bunch of
new errors, so this option seems to be out of hand. Anyone have any
clues of what to do? Thanks beforehand.
 
S

Sue Mosher [MVP-Outlook]

Sounds like you need to find your combo box to a text field and use the truncated value of that field to set the End property. Don't forget that you'll need to merge your time with a date value.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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