I never used VBA before, but I need to create a public function (fc_P) that read all the record from one field (x_date) and after that to create a new field that has in the previous record x_date - 1 (last record should be Now())
x_date
01/01/2022
03/05/2022
08/07/2022
and to generate
fc_P
03/04/2022
08/06/2022
Now()
x_date
01/01/2022
03/05/2022
08/07/2022
and to generate
fc_P
03/04/2022
08/06/2022
Now()