Hi guys, I have a form with many text boxes. The 2 text boxes for importance in my query is "Date of Commencement" and "Estimated Date of Completion". The "Estimated Date of Completion" is to be 120 days after the "Date of Commencement". By using the code:
I wish to autofill "Estimated Date of Completion" text box. however I have been receiving a type mismatch error. How many I solve this issue. or code it in a better way
Code:
EstimatedDateofCompletion.Value = DateAdd("d", 120, DateofCommencement.Value