I am new to LibreOffice Calc. I need to use LibreOffice Basic but do not know the code to autoenter date/time when an adjacent cell is populated.
For example, whenever Column A, B and/or C is populated, I would like Column D to automatically enter the date and time.
Thank you
Edited 6/7/16
Hi again
I think the formula I have might need some “tweaking”. I copied the above formula for all the rows as follows:
For Cell D1, I have =IF((A1<>"") OR (B1<>"") OR (C1<>""),NOW(),"")
Then for Cell D2, I have =IF((A2<>"") OR (B2<>"") OR (C2<>""),NOW(),"")
And for Cell D3, I have =IF((A3<>"") OR (B3<>"") OR (C3<>""),NOW(),"")
So when data is entered into either A1, B1 or C1, the current date/time auto-fill D1.
However, after a few minutes, when data is entered into either A2, B2 or C2, the current date/time auto-fill D2 - but it also changes the date/time in D1.
And when I close the file, and open it again, all the dates change to current date/time.
I need to date/time to stay as it is once data is entered in each row without changing.
Can you help again please?
Thanks
Lisa