G
gonecrazybacksoon
Hi All
Please help with the following:
I am building a time management tool in the form of a userform that
logs the time of a particular event, using just the system time, and
then based on another input(Combobox8), ie: the priority of the
event,
another textbox has to display the time a person should attend to the
problem.
For eg: when a call is logged, the system time is stamped onto
textbox1 showing the start time. Then the user has to input either
the
numbers 1 through 5 (priority) meaning: 1 means you have to attend
the
call in 4 hours, 2 means 8 hours, 3 means 12 hours, 4 means 24 hours
and 5 means 48 hours.
So, if textbox1 is stamped at 1:30:00pm, and I input a 2 for the
priority, textbox39 should display 9:30:00pm.
This all seems to work fine unless I input priority 3.4 or 5... the
date goes completely wierd and say something like 1899/05/15 ....
don't understand why.
The code I'm using is simply :
If ComboBox8.Value = 1 Then
TextBox39.Text = Time + TimeValue("04:00:00")
and so on ...until priority 5
Please help...
Sachin Singh
Please help with the following:
I am building a time management tool in the form of a userform that
logs the time of a particular event, using just the system time, and
then based on another input(Combobox8), ie: the priority of the
event,
another textbox has to display the time a person should attend to the
problem.
For eg: when a call is logged, the system time is stamped onto
textbox1 showing the start time. Then the user has to input either
the
numbers 1 through 5 (priority) meaning: 1 means you have to attend
the
call in 4 hours, 2 means 8 hours, 3 means 12 hours, 4 means 24 hours
and 5 means 48 hours.
So, if textbox1 is stamped at 1:30:00pm, and I input a 2 for the
priority, textbox39 should display 9:30:00pm.
This all seems to work fine unless I input priority 3.4 or 5... the
date goes completely wierd and say something like 1899/05/15 ....
don't understand why.
The code I'm using is simply :
If ComboBox8.Value = 1 Then
TextBox39.Text = Time + TimeValue("04:00:00")
and so on ...until priority 5
Please help...
Sachin Singh