![]() |
|
#5
|
|||
|
|||
|
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
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Iterating through tables to find a bookmark | bgmsd | Word VBA | 12 | 06-08-2015 10:09 AM |
Bookmark Not Showing Bookmark
|
RegAudit | Word | 6 | 03-16-2015 11:08 PM |
Move shape to bookmark location
|
Byron Polk | Word VBA | 4 | 08-07-2014 03:21 AM |
| vba to go to next bookmark | megatronixs | Word VBA | 2 | 06-08-2014 09:53 PM |
Find and Execute
|
cksm4 | Word VBA | 1 | 10-22-2011 11:36 PM |