input mask for texboxes

M

michael sofianos

Hello,

I try to fix an input mask for hours + minutes in userform in textbox with
VBA. For example when the user try to inpur hh:mm to see __:__ and after
that , to need to input hour (for example 12) and minute (for example 23)
12:23.
 
D

Dave Peterson

About the best you can do in excel is format the textbox after the user has left
the textbox.

Maybe you could use a some other control (combobox/spinner/listbox) to select
the hour and minute. Then the user wouldn't even have to type.
 
M

michael sofianos

many thanks for information




Dave Peterson said:
About the best you can do in excel is format the textbox after the user
has left
the textbox.

Maybe you could use a some other control (combobox/spinner/listbox) to
select
the hour and minute. Then the user wouldn't even have to type.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top