Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to insert current date into textbox?

Normally, we can quickly and easily insert current date and time into cell by using a simple formula, but, have you ever tried to insert current date and time into a textbox? This article, I will talk about some quick tricks for solving this task in Excel.

Insert current date and time into a general textbox

Insert current date and time into an ActiveX textbox


arrow blue right bubble Insert current date and time into a general textbox

If you draw a textbox from the Insert tab directly, the following steps may help you to insert the current date and time.

1. After drawing the textbox, select it, and enter this formula: =A1 into the formula bar, and press Enter key, it will link this textbox to a specific cell, for instance, A1, see screenshot:

doc textbox current date 1

2. Then enter this formula: =now() into cell A1, and press Enter key to get the current date and time, and the date time will be displayed into the textbox as automatically, see screenshot:

doc textbox current date 2

Note: To insert only the current date into the textbox, please enter this formula: =today() into the linked cell A1.


arrow blue right bubble Insert current date and time into an ActiveX textbox

If you insert the ActiveX textbox into your worksheet, you should apply the following steps to deal with this job.

1. After inserting the ActiveX textbox, select it, under the Developer tab, click Properties, and in the popped out Properties dialog box, enter the linked cell reference A1 into the LinkedCell text box under Alphabetic tab, see screenshot:

doc textbox current date 3

2. Then close this dialog box, and then enter this formula in cell A1: =TEXT(NOW(),"dd/mm/yyyy hh:mm:ss") and press Enter key to get the current date time, and the date time has been linked into the textbox at once, see screenshot:

doc textbox current date 4

Note: To insert only the current date into the textbox, please enter this formula: =Text(today(),"dd/mm/yyyy") into the linked cell A1.


Recommended Productivity Tools for Excel

kte tab 201905

Kutools for Excel Helps You Always Finish Work Ahead of Time, and Stand Out From Crowd

  • More than 300 powerful advanced features, designed for 1500 work scenarios, increasing productivity by 70%, give you more time to take care of family and enjoy life.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Brings Tabbed Browsing and Editing to Microsoft Office, Far More Powerful Than The Browser's Tabs

  • Office Tab is designed for Word, Excel, PowerPoint and Other Office Applications: Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.