 |
freemarketmike Level: Trainee
 Registered: 30-04-2009 Posts: 1
|
Word Macro Runtime Error 6124
I've created a simple userform which updates content controls in a Word letter. (Nothing to difficult here.) The form runs superbly on my computer, but when I've e-mailed it to someone else to use it, they get the error:
Run-time error '6124': You are not allowed to edit this selection because it is protected.
Upon hitting debug, it highlights the first line of code which updates one of the content controls:
| ActiveDocument.SelectContentControlsByTitle("UniversityName").Item(1).Range.Text = txtUName.Text |
I've made sure there is no protection on this document. Does anybody know why the code runs fine on my computer but not on someone else's?
Thanks!
-Mike
[Edited by freemarketmike on 30-04-2009 at 02:30 PM GMT]
|
|
30-04-2009 at 10:08 PM |
|
|
|
|
 |
 |