I have the following script but only want the hh:mm:ss not the whole date and time, can someone please help with this.
So it would be i.e. 15:33:20
So it would be i.e. 15:33:20
Code:
With UserForm1.TextBox1
.Text = Left(.Text, .SelStart) & Format(timeStamp, "m-dd h:mm:ss am/pm") _
& Mid(.Text, .SelStart + 1)
End With