Data = DateAdd(ValueBox2.value, gb.Year, 18)
TRY Data = DateAdd(Data, gb.Year, 18) IF ERROR THEN Data -= 1 Data = DateAdd(Data, gb.Year, 18) ENDIF