macros in templates in Word 2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We have a template that was created in Word 2000, when you launch the
template it would prompt you to select in a drop down of 2 options and
depending on the option you select it populated the template as a form. Then
in another field within that selection you click a couple options and it
finishes populating that form. Well on Word 2003 when you launch the
template and click the first selection it doesn't populate the form, then
when you go to the next drop down to complete populating the form we get an
error that reads ...

"Run-time error '6124': You are not allowed to edit this region because
document protection in effect." buttons are "End" or "Debug" or "Help"

Even with protection off still have this problem in Word 2003. Help?
 
If you click on Debug, what line of code is highlighted?

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 
Thanks Doug for responding, here is a snipet of the code ...

If category = "STANDARD OPERATING PROCEDURE" Then
With ActiveDocument
..Bookmarks("prepared_by").Range.Text = "Prepared by:"

The line that is highlighted is the line above that starts with
".BOokmarks..."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top