Jul 17 2024 10:35 AM
I've create a VBA in Excel but would like to respective entries when data is added to automatically populate a date and time stamp in Column 3 of the worksheet. I was able to use a formula that worked if I manually entered information directly into the worksheet but I'd like for the field to populate if the data comes from the VBA macro.
Jul 17 2024 11:53 AM
What does your code currently look like?
Jul 18 2024 06:42 AM
Thanks for your help, here is the code
=IF(A2<>" ",IF(AND(B2<>" ",CELL("address")=ADDRESS(ROW(A2),COLUMN(A2))),NOW(),IF(CELL("address")<>ADDRESS(ROW(A2),COLUMN(A2)),B2, NOW()))," ")
Jul 18 2024 08:38 AM
Thank you, but that is a cell formula, not VBA code.
Jul 19 2024 06:10 AM