Hi,
I have a text box in a userform, that contains both a date and a time in a single string, for instance: "02/05/2020 14:00"
What I want is this:
say I wanna change the date to 04/07/2020.
As soon as I type "04", "05" will automatically be highlighted (skipping whatever separator there is, in this case "/") so that i can immediately go on to typing "07" without moving the cursor or fiddle with the arrow keys to position the text cursor manually.
Or alternatively, allowing the user to jump easily to the next part in the date/time format using the arrow keys.
Say, if the user clicks the right or left arrow key for example, the next/previous part will be highlighted, ready for the user to change. The user will be able to use the arrow keys to cycle through the different parts ( "02", "05", "2020", "14", "00" )
I don't have any idea as to how to start.. It's a little out of my vba territory.. that's why I don't even have an initial code to show for.. Sorry..
Thanks!
Bookmarks