>>How do I specify an InputMask for an hour? I want to force the user to input data in the format 00:00, but when I use that InputMask, the TextBox never gets focus. As soon as I click on it, the focus goes to the next object in the TabOrder.
>>
>>TIA,
>>
>>Hilmar.
>
>TextBox.InputMask = "##:##"
>
>Your controlsource for this should be character, and you'll need to validate the ranges in code.
Thanks, that was it. Strangely, I had temporarily forgotten some of the most basic details about InputMasks, and tried to use "0" instead of "#" for the digits.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)