It would help if you showed all your code.
Here is how to put date/time in the first empty cell in column N (assuming that there is no data in column N after the first empty cell) and then fill down to the row with the last value in column A.
This code assumes that either:
1) The code is in the module for the worksheet containing the data
or
2) The worksheet containing the data is the active worksheet.
If neither of these is true please explain how you will be using this code.
Also do not do this
Format creates a text string. You do not want to put a text string in the cell. Instead, format the cells in column N using Custom format to get the desired display.
Bookmarks