Sorry Dave,
You are correct, there is an error in my second line.
Should read:
If MsgBox("Please complete ALL of the details. Do you want to close without saving?", vbYesNo, "Confirmation") = vbYes Then
Note addition of "(" to syntax.
Thus overall code should read:
If IsNull(Me.TxtCopy)...