I have use tis control for input time and i haf a function call check where it checks whether the input is valid or not. How to put maskedbox into a sub function so that i can reuse my check sub function for other maskedbox?
private sub check(???? as ????)
End Sub
