A family of Microsoft word processing software products for creating web, email, and print documents.
The only way to be able to select the protected parts is to unprotect the form first. This modification of the previous macro will do the whole thing -- unprotect, copy the whole form to the clipboard, and then reprotect while clearing the fields:
Sub ClearForm()
With ActiveDocument
If .ProtectionType <> wdNoProtection Then
.Unprotect
End If
.Range.Copy
.Protect Type:=wdAllowOnlyFormFields, NoReset:=False
End With
End Sub
After the button is clicked, the user must immediately go to the other program and paste, because the material on the clipboard will be wiped out if they copy anything else first and there won't be any way to recover the information that was in the fields.
Personally, I don't like this because it's too error-prone, but it may work for you. The alternative is to make two macros (with two buttons): One to unprotect and copy, but not clear the fields; and the other just to clear the fields. That way, if the paste fails, the user can come back to the form and copy again, and clear it only when everything is safe.