How to Fix Excel Runtime Error 13 Type Mismatch in VBA
As seen from the image, the line where we assigned the joining date from theJoining Datecolumn as the value of thedtvariable is the source of the error. Becausedtis aDatetype variable and it expects a valid date