VBA & Macro Problems

Record a Fixed Date and Time in Excel Online Without VBA

Rana GarciaRana Garcia Dec 2, 2026 869 views

Question details

Record a fixed date and time when data is entered in Excel Online without using VBA macros.

Record a Fixed Date and Time in Excel Online Without VBA
Product
Excel Online
Device & OS
not provided
Scenario
A user wants to timestamp entries in column A without relying on VBA.
Observed behavior
The desired result is a timestamp that remains unchanged after it is recorded.
Before you start

Choose a timestamp column and make sure its cells are available for timestamps. If you plan to use an Office Script, check that the Automate tab is available in your Excel account.

Solution 1Recommended

Enter a Fixed Timestamp Manually

Use this method when you need a simple timestamp at the time of entry and do not need automation.

1
Enter the data

In Excel Online, enter the record in column A and select the corresponding cell in column B.

2
Type the timestamp

Type the current date and time directly in the column B cell, then press Enter. The entered value will not update automatically.

3
Check the display

If needed, select the timestamp cell and use Home > Number Format to choose a suitable date or time display.

Enter a Fixed Timestamp Manually
Formula values: NOW() and TODAY() recalculate. To freeze a formula result instead, copy its cell and use Paste Special > Values if that option is available.
Work with timestamps in WPS

Enter Fixed Timestamps in WPS Spreadsheet

Use WPS Spreadsheet to enter a date and time directly beside each record. The typed value stays fixed unless you edit it.

  1. 1. Open the workbook: Open WPS Spreadsheet and use Open to select your Excel workbook.
  2. 2. Add the record: Enter your data in column A, then select the corresponding cell in column B.
  3. 3. Enter the timestamp: Type the current date and time in the selected cell and press Enter.
  4. 4. Save the workbook: Select Save or Save As and use the XLSX format to keep the workbook compatible with Microsoft Excel.
Record a nonchanging timestamp without a macroOpen and save Microsoft Excel XLSX filesUse a familiar spreadsheet interfaceEnter timestamps manually without setting up automation
QA img-9

Frequently Asked Questions

Why does NOW() change instead of keeping the entry time?

NOW() is a recalculating formula, so its result can change when the workbook recalculates. Enter a date and time directly, or copy the result and paste it as a value to freeze it.

Can Excel Online run a VBA macro to timestamp entries?

Excel Online cannot run VBA macros. You can enter timestamps manually or use an Office Script if the Automate tab is available.

Does the Office Script capture the exact time data was entered?

No. The script records the time it runs for entries whose timestamp cells are blank. Run it promptly after entering data if a close approximation is sufficient.

Will the script overwrite an existing timestamp?

The example checks column B and writes a timestamp only when that cell is blank. Existing values in column B are left unchanged.