B
boredofcities
I have a macro that copies the text from one text formfield to another in a
document that I have created. I am using this code below.
Sub CopyText()
With ActiveDocument
.FormFields("Bookmark1").Result = .FormFields("Bookmark2").Result
End With
End Sub
The problem I'm having is when the macro has run, I want it to be disabled,
so it doesn't overwrite the amendments that anyone makes to the formfield.
How would I go about doing this?
Using Office 2007, with protected for filling in forms.
Thanks for your time.
Matt.
document that I have created. I am using this code below.
Sub CopyText()
With ActiveDocument
.FormFields("Bookmark1").Result = .FormFields("Bookmark2").Result
End With
End Sub
The problem I'm having is when the macro has run, I want it to be disabled,
so it doesn't overwrite the amendments that anyone makes to the formfield.
How would I go about doing this?
Using Office 2007, with protected for filling in forms.
Thanks for your time.
Matt.