Textbox - Text Entry

Zempten

Board Regular
Joined
Apr 21, 2014
Messages
55
Hello,

I was wondering if there was anyway that would allow the user to just enter the month and day in the textbox , but have the year automatically filled in. I tried using an input mask, but it just stops without entering the year into the main table.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Is this Textbox bound to a field in your underlying table, or is it an unbound Textbox?

If it is bound, what is the Data Type of the table field it is bound to? That field should be a Date Data Type, and then it should work the way you want. If it is Text, you are entering a Text value, not a Date one, which is why it is not working the way you want.

If your Textbox is unbound, choose "Short Date" as the Format, and it should work the way you want.
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,560
Members
449,089
Latest member
Motoracer88

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