![]() |
#2
|
|||
|
|||
![]()
So where is your macro?
Code:
Sub ScratchMacro() 'A basic Word macro coded by Greg Maxey, http://gregmaxey.com/word_tips.html, 9/21/2018 Dim oRng As Word.Range Set oRng = ActiveDocument.Sections(2).Range With oRng.Find .Text = "Test" While .Execute oRng.Select Wend End With lbl_Exit: Exit Sub End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Pauliina | Word | 4 | 05-24-2018 10:01 PM |
![]() |
ArieH | Word VBA | 20 | 09-10-2017 04:23 PM |
Word 2013 - When deleting section breaks, cursor jumps to beginning of document | ranholmom66 | Word | 3 | 07-01-2016 06:01 AM |
![]() |
donaldadams1951 | Word VBA | 5 | 12-03-2013 10:08 AM |
Footnotes in one column section forcing two column section start from a new page... | thorin | Word | 1 | 12-19-2012 01:22 PM |