Navision & protected word document

Hi, This is more of a VB question, so my apologies. However, I thought maybe someone had tried this before (and I prefer this forum to any VB ones!) We want to have our Navision interaction templates (Word documents) protected by default, but of course this screws up the merging of Navision address fields as you cant edit protected documents except for the form fields. I figured out how to disable the protect in VB when the document is opened, but I don’t have a clue how to check for when the merge is complete so I can re-protect it! Code so far: 'Unprotects doc If ActiveDocument.ProtectionType <> wdNoProtection Then ActiveDocument.Unprotect Password:="" End If < Need some kind of merge check code > 'Protects doc If ActiveDocument.ProtectionType = wdNoProtection Then ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True End If Thanks, Tom