At the moment I have the following
Which for the most part works fine, what's driving me crazy is that I have the textbox formatted as "13:00", however when I click the up arrow it changes the formatting when it carries out the addition. So it comes out as "01:15:00 PM" while I want it to appear simply as "13:15".
I've looked everywhere and have yet to find a solution.
Any help greatly appreciated.
Code:
Private Sub SpinButton2_SpinUp()
TextBox_starttime.Value = Format(CDate(TextBox_starttime.Value) + 1 / 96)
End Sub
Which for the most part works fine, what's driving me crazy is that I have the textbox formatted as "13:00", however when I click the up arrow it changes the formatting when it carries out the addition. So it comes out as "01:15:00 PM" while I want it to appear simply as "13:15".
I've looked everywhere and have yet to find a solution.
Any help greatly appreciated.