Macro to protect document leaves brackets where the cursor is
Hello,
I have a issue that I just cannot find an answer to. I have some macros set up to protect a document in track changes and to protect a document for filling in forms. I activate the macro using a keyboard combination. The macros work fine, but wherever my cursor is when I hit the keyboard combination it leave a gray bar, or brackets if you type anything. Here is the code that I am using:
Sub Fillable ()
'
'Fillable Macro
'
Selection.Editors.Add wdEditorEveryone
ActiveDocument.Protect Password:="", Type:=_
wdAllowOnlyFormFields
End Sub
Any help would be greatly appreciated.
|