Outlook end time

  • Thread starter Thread starter warbornster
  • Start date Start date
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.
 
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
 
Back
Top