Add this code into the ThisDocument_Open event. It will cause the
cursor to go to that form field when the doc opens. You'll need to
know the name of that first field and replace "myFieldName" with the
bookmark name of your field.
If ActiveDocument.Bookmarks.Exists("myFieldName") Then
Selection.GoTo What:=wdGoToBookmark, Name:="myFieldName"
End If
Dian D. Chapman, Technical Consultant
Microsoft MVP, MOS Certified
Editor/TechTrax Ezine
Free MS Tutorials: http://www.mousetrax.com/techtrax
Free Word eBook: http://www.mousetrax.com/books.html
Optimize your business docs: http://www.mousetrax.com/consulting
Learn VBA the easy way: http://www.mousetrax.com/techcourses.html
>Hello,
>A question. I have a word document that is protected. When I open the
[quoted text clipped - 5 lines]
>activedocument.formfields(1).select doesn't work. Has anyone a solution?
>Thanks