View Single Post
 
Old 04-07-2011, 04:44 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,340
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

In that case, you could use code like:

Code:
Sub LMSI_Office()
Dim StrResult As String, i As Integer
With ActiveDocument
  StrResult = .FormFields("LMSI_Office1").Result
  For i = 2 To 15
    .FormFields("LMSI_Office" & i).Result = StrResult
  Next
  .Bookmarks("BookmarkName").Range.Fields(1).Result.Select
End With
End Sub
where "BookmarkName" is the bookmark name of the formfield you want to go to.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote