View Single Post
 
Old 04-15-2016, 06:30 AM
gmaxey gmaxey is offline Windows 7 32bit Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,599
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Try this:

Code:
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey
Dim oFld As Field
Dim oRng As Range
  For Each oFld In ActiveDocument.Range.Fields
    If oFld.Type = wdFieldAsk Then
      If InStr(oFld.Code, "TranscriptPage") > 0 Then
        Set oRng = oFld.Code
        oRng.Collapse wdCollapseStart
        oRng.Select
        oFld.Update
      End If
    End If
  Next
lbl_Exit:
  Exit Sub
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote