Skip to main content

How to insert current date into textbox?

Author: Xiaoyang Last Modified: 2020-07-17

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.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, 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!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations