![]() |
|
#1
|
|||
|
|||
|
Hello I found this macro and Im trying to modify it to fit my application.
If the word Roll Call exist, select it and insert a paragraph after it, insert a bookmark. Any leads would be appreciate it. Sub macro2() Set myRange = ActiveDocument.Content myRange.Find.Execute FindText:="Roll Call", Forward:=False If myRange.Find.Found = True Then Selection.TypeParagraph ActiveDocument.Bookmarks.Add Name:="mark" End Sub |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Find Bookmark, move to bookmark, execute code, repeat | raymm3852 | Word VBA | 10 | 04-15-2016 06:21 PM |
Is there anyway I can insert an easy bookmark in word?
|
BayhDole | Word | 2 | 07-21-2015 08:43 PM |
| Find last word in paragraph and delete it | Dave T | Word VBA | 3 | 05-21-2015 12:40 AM |
Delete bookmark and paragraph which is blank
|
dsjk9190 | Word VBA | 2 | 01-22-2015 01:15 AM |
[Word 2007] How to hyperlink directly another word file chapter/paragraph/bookmark?
|
LeeFX | Word | 4 | 05-05-2011 05:53 PM |