The Jolly Contrarian:Macro: Difference between revisions
Jump to navigation
Jump to search
Amwelladmin (talk | contribs) Created page with " ' Wikifier Macro ' ' Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "Cash" .Replacement.T..." |
Amwelladmin (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
With Selection.Find | With Selection.Find | ||
.Text = "Cash" | .Text = "Cash" | ||
.Replacement.Text = "{{nycsaprov|Cash}}" | .Replacement.Text = "<nowiki>{{nycsaprov|Cash}}</nowiki>" | ||
.Forward = True | .Forward = True | ||
.Wrap = wdFindContinue | .Wrap = wdFindContinue |
Latest revision as of 23:12, 19 January 2020
' Wikifier Macro ' ' Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "Cash" .Replacement.Text = "{{nycsaprov|Cash}}" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = True .MatchWholeWord = False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With Selection.Find.Execute Replace:=wdReplaceAll End Sub