Record a Fixed Date and Time in Excel Online Without VBA
Question details
Record a fixed date and time when data is entered in Excel Online without using VBA macros.

- 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.
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.
Enter a Fixed Timestamp Manually
Use this method when you need a simple timestamp at the time of entry and do not need automation.
In Excel Online, enter the record in column A and select the corresponding cell in column B.
Type the current date and time directly in the column B cell, then press Enter. The entered value will not update automatically.
If needed, select the timestamp cell and use Home > Number Format to choose a suitable date or time display.

Fill Blank Timestamps with an Office Script
Use a script to timestamp multiple existing entries in column A at once, without overwriting timestamps already in column B.
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. Open the workbook: Open WPS Spreadsheet and use Open to select your Excel workbook.
- 2. Add the record: Enter your data in column A, then select the corresponding cell in column B.
- 3. Enter the timestamp: Type the current date and time in the selected cell and press Enter.
- 4. Save the workbook: Select Save or Save As and use the XLSX format to keep the workbook compatible with Microsoft Excel.

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.




