Input Masks

dkbrostyle

New Member
Joined
Mar 16, 2002
Messages
28
Hi i don't know what to type in the input mask, what i want is for a time to be automatically entered in my table when new data has been entered.

I know the input mask for date is =date()
But i tried that with time but it not work.

Thank you very much for your time and help.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
To capture the time as well as the date, the syntax is "=Now()", but what you're missing is an Event Procedure to fire it off. If you set this as the Default value for the text box, I believe that'll work.
 
Upvote 0
I tried the input masks, or sorry the Devault value and it not only displays the time it display the date as well. I how do i only get the time only please.
 
Upvote 0
In the properties window, with your textbox selected, under the Format tab, make the Format property Medium Time.
 
Upvote 0

Forum statistics

Threads
1,221,683
Messages
6,161,264
Members
451,692
Latest member
jmaskin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top